Skip to content

Instantly share code, notes, and snippets.

@anneallen
Created July 23, 2013 21:24
Show Gist options
  • Save anneallen/6066302 to your computer and use it in GitHub Desktop.
Save anneallen/6066302 to your computer and use it in GitHub Desktop.
Add Viewport Meta tag for non-responsive design
/** Add Viewport meta tag for mobile browsers */
add_action( 'genesis_meta', 'add_viewport_meta_tag' );
function add_viewport_meta_tag() {
echo '<meta name="viewport" content="width=1480">';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment