Skip to content

Instantly share code, notes, and snippets.

@nathanrice
nathanrice / style.css
Created May 28, 2015 16:34
Style new Genesis Accessibility output
/* ## Screen reader text
--------------------------------------------- */
.screen-reader-text,
.screen-reader-text span,
.screen-reader-shortcut {
position: absolute !important;
clip: rect(0, 0, 0, 0);
height: 1px;
width: 1px;
@nroca
nroca / gist:511ef1d287ba7121f596
Created October 9, 2014 05:39
ACF Options Page (Icon/Position)
// http://support.advancedcustomfields.com/forums/topic/change-menu-position-of-options-page/
acf_add_options_page( array(
'page_title' => 'Home Page Sliders',
'menu_title' => 'Sliders',
'menu_slug' => 'home-page-sliders',
'capability' => 'edit_posts',
'icon_url' => 'dashicons-images-alt2',
'position' => 7
@zoerooney
zoerooney / sass-sticky-footer.scss
Created December 31, 2013 03:55
SASS Sticky Footer Mixin - I didn't find one using my favorite method (this one: http://cleanstickyfooter.herokuapp.com/) so I wrote it up myself.