Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

iPhone X viewport

Solved by Robbert Luit View solution

Started by Felix 9 years ago · 3 replies · 870 views
9 years ago

Hi folks! I'm running Grav with Gantry. Cannot figure out what is the twig file that reads the viewport metatag and loads it in the frontend. I need to change the wieport in <meta name='viewport' content='initial-scale=1, viewport-fit=cover'> i tried modifing all the base***.twig files but with not result. Any help appreciated! Thanks.

9 years ago Solution

Should be in : user/plugins/admin/themes/grav/templates/partials/base-root.html.twig

9 years ago

Or for gantry specific : /user/plugins/gantry5/engines/nucleus/templates/page_head.html.twig, hope it helps you :)

9 years ago

Changed everywhere and It worked. THX!

Suggested topics

Topic Participants Replies Views Activity
Support · by webmasterodp, 2 weeks ago
4 248 2 weeks ago
Support · by nwhitfield, 2 weeks ago
2 214 2 weeks ago
Support · by stell, 4 weeks ago
5 458 3 weeks ago
Support · by gravinator, 2 months ago
5 638 3 weeks ago
Support · by Gravver, 1 month ago
6 430 4 weeks ago