Unless otherwise indicated, the code snippets you see below should be placed into your theme’s functions.php file.
The Viewport meta tag comes enabled by default. If you want to apply a filter to it on your website, you can use the code provided below, showcasing the default values:
add_filter( 'genesis_viewport_value', 'child_custom_viewport' );
/**
* Filters the responsive viewport value.
*
* @param string $content The viewport value.
* @return string $content The new viewport value.
*/
function child_custom_viewport( $content ) {
return 'width=device-width, initial-scale=1';
}