Archived topic
Hide main navigation but not sticky navigation
3 replies · Started by Marcellus on April 12, 2019
Hi There,
Is it possible to hide the main navigation on desktops, but keep the sticky navigation intact? I tried some CSS but i only managed to hide both.
As you can see i created my own navigation in Elementor, so that's why i would like to hide the main navigation.
Thanks!
Hi there,
your desktop nav is in the Site Header so you could just disable that using the Layout Element:
https://docs.generatepress.com/article/layout-element-overview/
Hi David,
Thanks for your reply. I already tried that, but it also hides the sticky navigation. I have now disabled the header but as you can see the sticky header will not appear anymore (even though it's enabled in the settings). Once i uncheck the header box in the layout element, both menus are again visible.
Best regards
Can you re-enable so i can take a look?
Or set the GP Nav to below header and follow this:
https://docs.generatepress.com/article/show-sticky-navigation-only/