Skip to content

Instantly share code, notes, and snippets.

@sassinack
sassinack / style.css
Created December 27, 2012 15:11
Genesis:CSS: inner shadow below nav
#inner {
margin: 0 auto;
overflow: hidden;
padding: 20px;
background-image: url(images/shadow-top.png);
background-repeat: no-repeat;
background-position: top center;
border-top: 1px solid #cbcbcb;
}
@sassinack
sassinack / style.css
Created December 27, 2012 15:14
CSS: Responsive Chat Tab
.fixed-chat-tab {
background: rgba(52, 54, 66, .85);
display: block;
position: fixed;
bottom: 0px;
height: 60px;
width: 100%;
}
#fixed-chat {
@sassinack
sassinack / functions.php
Created December 27, 2012 15:08
Genesis: PHP: custom styles tinymce editor
// Custom Styles
add_filter( 'tiny_mce_before_init', 'my_custom_tinymce' );
function my_custom_tinymce( $init ) {
$init['theme_advanced_buttons2_add_before'] = 'styleselect';
$init['theme_advanced_styles'] = 'Red=red,Content Light CTA =lightCTA,Content Dark CTA=darkCTA';
return $init;
}
@sassinack
sassinack / functions.php
Created December 27, 2012 00:52
Genesis: Add structural wraps for full width
/** Add Structural wraps for full width */
add_theme_support( 'genesis-structural-wraps', array( 'header', 'nav', 'subnav', 'inner', 'footer-widgets', 'footer' ) );