Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

iPhone X viewport

Solved by Robbert Luit View solution

Started by Felix 9 years ago · 3 replies · 818 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 stell, 7 days ago
4 235 5 days ago
Support · by gravinator, 1 month ago
4 441 5 days ago
Support · by Gravver, 2 weeks ago
6 278 1 week ago
Support · by Marcel, 4 weeks ago
2 337 1 week ago
Support · by blu3prince, 2 weeks ago
1 252 2 weeks ago