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
/* Make Full Width Content 800px or 75% on Desktop Only */ | |
.full-width-content .content { | |
width: 70%; | |
margin: 0 auto; | |
float: none; | |
} | |
/* Return Full Width Content to 100% on Media Query 840px */ | |
@media only screen and (max-width: 840px) { | |
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 | |
/** | |
* Genesis Framework. | |
* | |
* WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances. | |
* Please do all modifications in the form of a child theme. | |
* | |
* Template Name: Archive | |
* | |
* @package Genesis\Templates |
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
//* Add a full width widget area before footer widgets in Magazine Pro | |
genesis_register_sidebar( array( | |
'id' => 'before-footer-widgets', | |
'name' => __( 'Before Footer Widgets', 'genesis' ), | |
'description' => __( 'This is the before footer widget.', 'themename' ), | |
) ); | |
add_action( 'genesis_before_footer', 'c8d_before_footer_widget', 3 ); | |
function c8d_before_footer_widget() { | |
genesis_widget_area( 'before-footer-widgets', array( | |
'before' => '<div class="before-footer-widgets widget-area">', |
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
// Display one category on the home page | |
function c8d_display_one_category_home( $query ) { | |
if ( $query->is_home() && $query->is_main_query() ) { | |
$query->set( 'cat', 'ENTER YOUR CATEGORY ID NUMBER HERE' ); | |
} | |
} | |
add_action( 'pre_get_posts', 'c8d_display_one_category_home' ); |
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
/* Essence Pro Archive Posts Side by Side like Blog Page | |
---------------------------------------------------------------------------------------------------- */ | |
.archive .content { | |
max-width: none; | |
width: 100%; | |
} | |
.archive .content .entry { | |
float: left; |
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
/* | |
Clear fix for column classes | |
---------------------------------------------------------------------------------------------------- */ | |
.clear-line:after { | |
content: "."; | |
display: block; | |
clear: both; | |
visibility: hidden; | |
line-height: 0; | |
height: 0; |
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 | |
Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css | |
--------------------------------------------- */ | |
.five-sixths, | |
.four-sixths, | |
.one-fourth, | |
.one-half, | |
.one-sixth, | |
.one-third, |
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="video-code">ADD YOUR IFRAME</div> |