Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

iPhone X viewport

Solved by Robbert Luit View solution

Started by Felix 9 years ago · 3 replies · 780 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 :)

8 years ago

Changed everywhere and It worked. THX!

Suggested topics

Topic Participants Replies Views Activity
Support · by Marcel, 5 days ago
0 84 5 days ago
Support · by JakobDB, 6 days ago
1 91 6 days ago
Support · by ramenos, 7 days ago
3 103 6 days ago
Support · by gravinator, 2 weeks ago
3 229 7 days ago
Support · by Roger Parkinson, 2 weeks ago
3 308 2 weeks ago