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
| @media (-webkit-max-device-pixel-ratio: 1), | |
| (max-resolution: 119.9dpi) { | |
| .logo { | |
| background:url(images/example.jpg); | |
| } | |
| } | |
| @media (-webkit-min-device-pixel-ratio: 1.1), | |
| (min-resolution: 120dpi) { | |
| .logo { |
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
| a { | |
| color: #333; | |
| transition: color 0.2s linear; | |
| -o-transition: color 0.2s linear; | |
| -moz-transition: color 0.2s linear; | |
| -webkit-transition: color 0.2s linear; | |
| } | |
| a:hover { | |
| color: #289dd6; |
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
| html, body { | |
| height: 100%; | |
| } | |
| /*Opera Fix*/ | |
| body:before { | |
| content:""; | |
| height:100%; | |
| float:left; | |
| width: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
| /** Custom header */ | |
| remove_action('genesis_header', 'genesis_do_header'); | |
| remove_action('genesis_header', 'genesis_header_markup_open', 5); | |
| remove_action('genesis_header', 'genesis_header_markup_close', 15); | |
| function child_custom_header() { | |
| if (is_front_page()) { ?> | |
| YOUR HTML HERE | |
| <?php } | |
| elseif (is_page() || is_search() || is_archive() || is_home()) { ?> |
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
| /** Remove script loading from header */ | |
| add_action('wp_enqueue_scripts', 'child_deregister_scripts'); | |
| function child_deregister_scripts() { | |
| wp_deregister_script( 'jquery' ); | |
| wp_deregister_script( 'jquery-ui' ); | |
| } | |
| /** Load scripts before closing the body tag */ | |
| add_action('genesis_after_footer', 'child_script_managment'); | |
| function child_script_managment() { |
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
| /** Load scripts on Portfolio page */ | |
| add_action('genesis_after_footer', 'child_load_portfolio'); | |
| function child_load_portfolio() { | |
| if(is_page('Portfolio')) { | |
| wp_register_script( 'isotope', get_bloginfo('stylesheet_directory').'/lib/js/jquery.isotope.min.js' ); | |
| wp_enqueue_script ( 'isotope' ); | |
| } | |
| } | |
| /** Isotope vars */ |
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
| /** Customize the footer */ | |
| remove_action( 'genesis_footer', 'genesis_do_footer' ); | |
| remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5); | |
| remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15); | |
| function child_custom_footer() { | |
| if(is_front_page()) {?> | |
| <footer> | |
| <!-- Home page footer --> |
NewerOlder