Archived topic
Bulk disable primary navigation on all product pages
5 replies · Started by Marcel on October 13, 2020
I know how to choose individually, on each product page, how to disable primary navigation. But how can I disable primary navigation for all products without going through each one? I'm using the Niche theme in your portfolio. I guess it's simple, but I just can't get the idea right now. Thank you
Marcel
Hi there,
you can use the Layout Element:
https://docs.generatepress.com/article/layout-element-overview/
If the Disable Elements module is enabled then you can disable the Primary Navigation.
Then set the Display Rules to Products > All Products.
I told you it was simple :)).
However, although in the desktop version it works, I see that in the mobile version the menu is still there. A tip for the mobile menu to turn it off?
Thank you!
You can disable the Mobile Header as well - but that will remove the logo and other menu items.
If you just want rid of the hamburger menu then you can use this CSS:
.single-product #mobile-header .menu-toggle {
display: none;
}
Who else has time to read all the options, when David knows them all? It's easier just to ask :))
Thank you so much!
https://www.screencast.com/t/L0bOdU2Sj
:) Glad to be of help