This file contains 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-fifths, | |
.four-sixths, | |
.one-fifth, | |
.one-fourth, | |
.one-half, | |
.one-sixth, |
This file contains 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
/** | |
* Convert Catalyst Hooks to their Genesis counterparts. | |
* | |
* @since 1.0 | |
*/ | |
function catalyst_transport_hook_converter( $catalyst_hook, $html5 = false ) | |
{ | |
$catalyst_to_genesis_hooks = array( | |
'catalyst_hook_in_head' => 'wp_head', | |
'catalyst_hook_before_html' => 'genesis_before', |
This file contains 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( file_exists( dynamik_get_stylesheet_location( 'path' ) . 'my-custom-functions.php' ) ) | |
{ | |
require_once( dynamik_get_stylesheet_location( 'path' ) . 'my-custom-functions.php' ); | |
} |
This file contains 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
/* HTML5 5th @media query trigger point */ | |
.site-header { | |
min-height: 80px; | |
} | |
.header-image .site-header .wrap .title-area { | |
width: 400px; | |
height: 80px; | |
background-size: 400px 80px; | |
} |
This file contains 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 |
This file contains 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 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; | |
} |