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

Mobile navigation with modular one pager

Started by Muut Archive 11 years ago · 1 replies · 444 views
11 years ago

My first build with gravcms used a one page starter template with modular page structure. When viewed on mobile the modular pages don't show in a menu.

Is there a best practice solution for handling mobile nav of modular pages in grav? Is it a case of Twig wizardy or a larger architectural problem?

11 years ago

How the menu is displayed is really the job of the theme. By default Antimatter for example, displays on page menu items for modular pages because this allows you to jump around the single page from the menu.

On mobile this doesn't make as much sense, it's easy to flick through a web page, and space is at a premium. If you wanted to change this behavior you would really have to modify the theme's twig templates and potentially the css.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1333 9 years ago
Archive · by Muut Archive, 9 years ago
2 924 9 years ago
Archive · by Muut Archive, 9 years ago
2 4055 9 years ago
Archive · by Muut Archive, 9 years ago
1 2935 9 years ago
Archive · by Muut Archive, 9 years ago
3 1110 9 years ago