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
/* Fixed Header */ | |
.site-header { | |
min-height: 80px; | |
position: fixed; | |
width: 100%; | |
z-index: 999; | |
} | |
.site-header .wrap { |
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 | |
add_action( 'wp_head', 'custom_genesis_page_builder_styles' ); | |
/** | |
* Echo the necessary "Full Page Width" styles into the head of the page. | |
* Credit for the following CSS goes to the developer of the "Genesis Dambuster" | |
* Plugin as this CSS is an edited version of that Plugin's full-width.css file. | |
*/ | |
function custom_genesis_page_builder_styles() { | |
echo ' | |
<style type="text/css"> |
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 remove_action( 'genesis_meta', 'dynamik_responsive_viewport' ); ?> |
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 | |
get_header(); ?> | |
<div id="home-hook-wrap" class="clearfix"> | |
<?php do_action( 'dynamik_hook_home' ); ?> | |
</div><!-- end #home-hook-wrap --> | |
<?php | |
get_footer(); | |
?> |
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
/* Column Classes | |
--------------------------------------------- */ | |
.five-sixths, | |
.four-sixths, | |
.four-fifths, | |
.one-fifth, | |
.one-fourth, | |
.one-half, | |
.one-sixth, |
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-fluid-page #inner, | |
.label-fluid-page #content-sidebar-wrap, | |
.label-fluid-page #content { | |
width: 100%; | |
max-width: 100%; | |
padding: 0; | |
} | |
.top-row-wrap { | |
background: #eee; | |
} |
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 | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); | |
remove_action( 'genesis_loop', 'genesis_do_loop' ); | |
genesis(); | |
?> |
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-fluid-page .site-inner, | |
.label-fluid-page .content-sidebar-wrap, | |
.label-fluid-page .content { | |
width: 100%; | |
max-width: 100%; | |
padding: 0; | |
} | |
.top-row-wrap { | |
background: #eee; | |
} |
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
<div class="top-row-wrap"> | |
<div class="top-row-wrap-inner"> | |
<?php echo do_shortcode( '[top_left]' ); ?><?php echo do_shortcode( '[top_right]' ); ?> | |
</div> | |
</div> | |
<div class="bottom-row-wrap"> | |
<div class="bottom-row-wrap-inner"> | |
<?php echo do_shortcode( '[bottom_left]' ); ?><?php echo do_shortcode( '[bottom_right]' ); ?> | |
</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 | |
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); | |
remove_action( 'genesis_loop', 'genesis_do_loop' ); | |
add_action( 'genesis_loop', 'custom_home_loop' ); | |
function custom_home_loop() { | |
?> | |
<?php echo do_shortcode( '[top_left]' ); ?><?php echo do_shortcode( '[top_right]' ); ?> | |
<?php echo do_shortcode( '[bottom_left]' ); ?><?php echo do_shortcode( '[bottom_middle]' ); ?><?php echo do_shortcode( '[bottom_right]' ); ?> | |
<?php |