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

Don't show menu of modular page in main menu

Solved by pamtbaau View solution

Started by Veehem 3 years ago · 2 replies · 421 views
3 years ago

Sorry for this probably stupid question, but I'm trying on it for 3 hours.
My main menu is
1.page
2.page
3.page
4.page
The 4.page is a modular page with
_top (Hero)
_serie-1 (Feature)

When I click on 4.page, the main menu disappear and I've on top of my menu-bar
_top
_serie-1

How to keep the main menu (page 1, 2,3, 4) ?

3 years ago Solution

@veehem,

Add onpage_menu: false to the header of the page.

3 years ago

Thank you for the help @pamtbaau !

Suggested topics

Topic Participants Replies Views Activity
Support · by blu3prince, 4 days ago
1 71 6 hours ago
Support · by complanar, 7 days ago
6 157 2 days ago
Support · by Rick Beebe, 7 days ago
2 117 3 days ago
Support · by alex, 5 days ago
2 101 4 days ago
Support · by Marcel, 2 weeks ago
1 152 5 days ago