Skip to content

Instantly share code, notes, and snippets.

/***** Default: Blue */
.base-blue a,.base-blue h2 a:hover,.base-blue #footer a:hover { color:#0988ce; }
.base-blue #title a { border-color:#0988ce;color:#0988ce; }
.base-blue #title a:hover { border-color:#065e8f;color:#065e8f; }
.base-blue ::-moz-selection,.base-blue ::selection { background-color:#0988ce; }
.base-blue .menu-primary a:hover,.base-blue .menu-primary .current-menu-item a,.base-blue .menu-secondary a:hover,.base-blue .menu-secondary .current-menu-item a { border-color:#0988ce;color:#0988ce; }
.base-blue #content .entry-title,.base-blue #content .entry-title a { color:#0988ce; }
.base-blue .single .post-meta a:hover,.base-blue .widget_recent_entries a:hover,.base-blue .widget_archive a:hover,.base-blue .widget_categories a:hover,.base-blue #sidebar .widget_recent_comments a:hover,.base-blue #sidebar .widget_nav_menu a:hover,.base-blue .widget_links a:hover { color:#0988ce; }
.base-blue .post-info .post-comments a { background-position: center -42px; }
.base-blue .widget_inspyr_subscribe .widget
@cdils
cdils / inSPYR-Custom.php
Last active December 10, 2015 02:48
Add a custom design to the inSPRY theme for Genesis Framework http://wp.me/p2Vyfh-ac
<?php /*
Theme Name: (in)SPYR
Theme URI: http://in.spyr.me
Author: Spyr Media
Author URI: http://spyr.me
*/
/*** Theme Options */
if (!class_exists('inspyr_theme')) {
class inspyr_theme {
@cdils
cdils / headerhook.php
Created December 24, 2012 17:11
Genesis Framework: Move the header up before the main wrapper <div id="wrap">, add this to your functions.php. http://wp.me/p2Vyfh-fi
remove_action( 'genesis_header', 'genesis_do_header' );
add_action( 'genesis_before', 'genesis_do_header' );
remove_action( 'genesis_footer', 'genesis_do_footer' );
add_action( 'genesis_after', 'genesis_do_footer' );
@cdils
cdils / navhook.php
Created December 24, 2012 17:14
Genesis Framework - Move Navigation http://wp.me/p2Vyfh-fi
remove_action( 'genesis_after_header', 'genesis_do_nav' );
add_action( 'genesis_before', 'genesis_do_nav' );
@cdils
cdils / associatethemehome.php
Created December 24, 2012 17:20
Customization for the Associate Theme Home page http://wp.me/p2Vyfh-hA
/** REMOVE THIS BIT OF CODE FOR THE ORIGINAL FEATURED WIDGET AREA */
genesis_register_sidebar( array(
'id' => 'featured',
'name' => __( 'Featured', 'associate' ),
'description' => __( 'This is the featured section.', 'associate' ),
) );
/** END REMOVE */
/** ADD IN THESE NEW WIDGET AREAS */
genesis_register_sidebar( array(
// Remove this original bit of code
if ( is_active_sidebar( 'featured' ) ) {
echo '<div class="featured">';
dynamic_sidebar( 'featured' );
echo '</div><!-- end .featured -->';
}
// And add in our new code:
/* Home Middle */
.home-middle {
margin: 0 auto;
overflow: hidden;
padding: 0 0 5px;
width: 910px;
}
/* add this next stuff in*/
.home-middle-1 {
@cdils
cdils / features.css
Last active December 10, 2015 02:48
From a tutorial for the Associate Theme from StudioPress: http://www.carriedils.com/customize-the-homepage-for-the-associate-theme/1090
/* Featured - original code
------------------------------------------------------------ */
.featured {
margin: 0 auto;
height: 430px;
padding: 0 0 25px;
width: 910px;
}
@cdils
cdils / registerwidget.php
Last active December 10, 2015 09:28
Register a new widget area in a Genesis Framework site.
/** Register widget area */
genesis_register_sidebar( array(
'id' => 'my-widget', // Feel free to use a more meaningful name here
'name' => __( 'My Widget', 'theme-slug' ),
'description' => __( 'This is a description of my new widget area', 'theme-slug' ),
) );