Hide certain dropdown menu

first-time

#1

Hi all.
I am new with Grav
Not a tech guy
But I do hope I can learn and understand few line of codes

I am using antimatter themes
Is it possible just to hide a submenu of a certain menu?
I got an issue where the submenu is too many, the last 3 submenus are not visible as it get passed the screen.
As I understand Grav will auto generate the menu from the pages.

I get the dropdown menu enabled
But if we have about 10-20 items under a blog.
and it will show all 20 then it will goes all the way passed the bottom (which is pointless) can we hide the submenu just for this particular menu?


#2

This might be what you’re looking for: https://learn.getgrav.org/content/headers#visible

If you set visible: false on a page it shoudn’t show up in the navigation.


#3

Thanks man @itsmeara . I tried and it works