Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

iPhone X viewport

Solved by Robbert Luit View solution

Started by Felix 9 years ago · 3 replies · 978 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 themetman, 2 days ago
6 87 20 hours ago
Support · by TomW, 3 weeks ago
8 294 4 days ago
Support · by alex, 3 months ago
8 710 5 days ago
Support · by Supple, 1 week ago
1 134 5 days ago
Support · by TomW, 2 weeks ago
3 216 7 days ago