Skip to content

Altering The Meta Viewport Tag

By default the Total theme uses the following meta viewport tag (when responsiveness is enabled):

<meta name="viewport" content="width=device-width, initial-scale=1">

This is one of the most common viewport tags for responsive designs which allows for zooming into your site when using mobile devices.

Altering The Meta ViewPort Tag

Luckily the Total theme is all about modular development, so can easily change the meta viewport tag via the ‘wpex_meta_viewport’ filter by adding a custom function to your child theme. please have a look at the example snippet here.


Back To Top