This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Scroll anchor | |
| $('a[href^="#"]').click(function(){ | |
| var el = $(this).attr('href'); | |
| $('html, body').animate({ | |
| scrollTop: $(el).offset().top | |
| }, 1500); | |
| return false; | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Pagination --> | |
| <div class="pagination"> | |
| <ul class="pagination__list"> | |
| <i class="pagination__btn pagination__btn_prev icon ion-ios-arrow-back"></i> | |
| <li class="pagination__item"> | |
| <a href="#" class="pagination__link pagination__link_active">1</a> | |
| </li> | |
| <li class="pagination__item"> | |
| <a href="#" class="pagination__link">2</a> | |
| </li> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <label> | |
| <input class="checkbox" type="checkbox" name="checkbox-test"> | |
| <span class="checkbox-custom"></span> | |
| <span class="label">Lorem ipsum dolor</span> | |
| </label> | |
| /* Скрываем реальный чекбокс */ | |
| .checkbox { | |
| display: none; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .bg { | |
| position: relative; | |
| width: 100%; | |
| padding-top: 20px; | |
| z-index: 2; | |
| min-height: 500px; | |
| -moz-transform: translateZ(0); | |
| -ms-transform: translateZ(0); | |
| -webkit-transform: translateZ(0); | |
| transform: translateZ(0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .magic-fix { | |
| backface-visibility: hidden; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php bg(get_attached_img_url( get_the_ID(), 'thumbnail' ) ) ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php $trim_content = get_the_content(); | |
| $trimed_content = wp_trim_words( $trim_content, 19, '.' ); | |
| ?> | |
| <div class="large-box__descr matchHeight"><?php echo apply_filters('the_content', $trimed_content); ?></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Sidebar | |
| * | |
| * Content for our sidebar, provides prompt for logged in users to create widgets | |
| */ | |
| ?> | |
| <?php dynamic_sidebar('Sidebar Right'); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Don't forget to remove font-size property. | |
| .slick-prev:before { | |
| content: ""; | |
| width: 0; | |
| height: 0; | |
| border-width: 15px 20px 15px 0px; | |
| border-style: solid; | |
| border-color: transparent #fff transparent transparent; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .services__item-wrap:after { | |
| position: absolute; | |
| content: ''; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| z-index: 0; | |
| } |