Archived topic
GP Mega Menu - Hide column headers?
11 replies · Started by Bernd on February 25, 2019
Hello,
since I have not found a post about this topic...
I use the GP Mega Menu and it works really well. My question:
Is there an easy way to hide the column headers? All links are in the same category, so I don't need any subdivision.
The solution only has to work in the desktop version, in the mobile version I can/ will offer a reduced navigation.
Many thanks in advance
Hi there,
Edited:
if you want to share a link i can probably provide some CSS in the meantime to hide them.
Hi David,
no, i'm using this one: https://docs.generatepress.com/article/building-simple-mega-menu/ at the moment :)
aah ok - in that case can you link me to your Site. Edit your original topic and use the Site URL field to share it privately.
I added the Link to my post...
Megamenu is the fourth link. I want to hide the headers named with "a-h", "h-l", etc :)
Try this:
nav .main-nav .mega-menu > ul > li > a {
display: none;
}
Thank you very much - Now it works as I wished it to.
When I tried it like this, I just destroyed the menu. Maybe I should go to sleep in between ... :)
And in general:
GeneratePress and its plugins are really great, your support is unique.
Stay tuned!
Haha - yes a little bit of sleep always helps :)
Glad to be of help and thanks for the wonderful feedback.
Suggestion: please add this advice to the GP doc on Mega Menu at https://docs.generatepress.com/article/building-simple-mega-menu/
Almost everyone will want to hide column headers
This is actually the first time I see the request so I wouldn't say almost everyone.
I'll take a look at the doc page.
I cannot think of an application where you'd want column headers
Most of the mega menu I see has a header for each column showing categories of menu items.