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
| var isMac = navigator.platform.toUpperCase().indexOf('MAC')>=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
| function modify_jquery_version() { | |
| if (!is_admin()) { | |
| wp_deregister_script('jquery'); | |
| wp_register_script('jquery', | |
| 'https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js', false, '2.1.s'); | |
| wp_enqueue_script('jquery'); | |
| } | |
| } | |
| add_action('init', 'modify_jquery_version'); |
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
| <button id='submit' class='wpcf7-form-control wpcf7-submit'>SUBMIT <span class='glyphicon glyphicon-menu-right'></span></button> |
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
| <!--[if lt IE 9]> | |
| <script> | |
| var e = ("article,aside,figcaption,figure,footer,header,hgroup,nav,section,time").split(','); | |
| for (var i = 0; i < e.length; i++) { | |
| document.createElement(e[i]); | |
| } | |
| </script> | |
| <![endif]--> |
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
| /* toggle class in header on expanding mobile menu */ | |
| jQuery('#bs-example-navbar-collapse-1').on('show.bs.collapse', function () { | |
| jQuery('header').addClass('expanded'); | |
| }) | |
| jQuery('#bs-example-navbar-collapse-1').on('hide.bs.collapse', function () { | |
| jQuery('header').removeClass('expanded'); | |
| }) |
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
| img[src$=".gif"], img[src$=".png"] { | |
| image-rendering: -moz-crisp-edges; /* Firefox */ | |
| image-rendering: -o-crisp-edges; /* Opera */ | |
| image-rendering: -webkit-optimize-contrast;/* Webkit (non-standard naming) */ | |
| image-rendering: crisp-edges; | |
| -ms-interpolation-mode: nearest-neighbor; /* IE (non-standard property) */ | |
| } |
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
| ul { | |
| -webkit-columns: 2; | |
| -moz-columns: 2; | |
| columns: 2; | |
| list-style-position: inside; | |
| } |
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
| /* insert inside functions.php */ | |
| function cc_mime_types($mimes) { | |
| $mimes['svg'] = 'image/svg+xml'; | |
| return $mimes; | |
| } | |
| add_filter('upload_mimes', 'cc_mime_types'); |
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
| <ul> | |
| <li class="item-1"></li> | |
| <li class="item-2"></li> | |
| <li class="item-3"></li> | |
| <li class="item-4"></li> | |
| <li class="item-5"></li> | |
| </ul> | |
| li{ | |
| background-color: red; |
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
| ul{ | |
| list-style: none; | |
| list-style-position: inside; | |
| } | |
| ul li:before{ | |
| display: inline-block; | |
| content: "•"; | |
| width: 5px; | |
| height: auto; |