Archived topic
fixed submenu below the menu
6 replies · Started by Damiaan van Vliet on March 2, 2017
Hi great team,
Is it possible to create instead of a drop-down menu a fixed submenu below the normal menu?
I mean a menu like this site (click e.g. organisers) or this site (click e.g. producten).
Thanks!
Hi Damiaan,
Give the code in this post a shot?
https://generatepress.com/forums/topic/keep-dropdown-submenu-items-visible/#post-258688
You would need to remove the .sidebar selector.
Let us know if this works!
Hi Leo,
Thank you. It's a step in the right direction. When the submenu has one item it looks fairly o.k. but when the submenu has more items they are stacked below each other.
I will try some CSS code to solve it.
I think this guy did something similar style wise. Maybe have a look at his CSS? https://wordpress.org/support/topic/horizontal-menu-with-submenu-full-width/
This has been requested a few times.
One idea would be to use the Secondary Nav add-on, and then swap out menus on those specific pages using a plugin:
https://wordpress.org/plugins/conditional-menus/
https://wordpress.org/plugins/menu-swapper/
Then on pages where you don't want it to show up, use the Disable Elements add-on to hide it.
Thanks @Leo and @Tom. Enough ideas and links to "play" with. I will try them.
You're welcome :)