[Resolved] Bulk disable primary navigation on all product pages

Home Forums Support [Resolved] Bulk disable primary navigation on all product pages

Home Forums Support Bulk disable primary navigation on all product pages

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1486265
    Marcel

    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

    #1486285
    David
    Staff
    Customer Support

    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.

    #1486318
    Marcel

    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!

    #1486353
    David
    Staff
    Customer Support

    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;
    }
    #1486363
    Marcel

    Who else has time to read all the options, when David knows them all? It’s easier just to ask :))
    Thank you so much!
    10.13.2020-13.45.38

    #1486529
    David
    Staff
    Customer Support

    🙂 Glad to be of help

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.