Skip to content

Instantly share code, notes, and snippets.

@karlazz
Created November 5, 2013 00:44
Show Gist options
  • Save karlazz/7311956 to your computer and use it in GitHub Desktop.
Save karlazz/7311956 to your computer and use it in GitHub Desktop.
Need this for Genesis 2.0 childtheme. Add to functions.php
/* SERIOUSLY? */
add_action( 'genesis_meta', 'sample_viewport_meta_tag' );
function sample_viewport_meta_tag() {
echo '<meta name="viewport" content="width=device-width, initial-scale=1.0"/>';
}
add_theme_support( 'html5' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment