Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

iPhone X viewport

Solved by Robbert Luit View solution

Started by Felix 8 years ago · 3 replies · 633 views
8 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.

8 years ago Solution

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

8 years ago

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

8 years ago

Changed everywhere and It worked. THX!

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 53 9 hours ago
Support · by Anna, 3 days ago
2 59 12 hours ago
Support · by Justin Young, 13 hours ago
1 30 13 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 56 5 days ago