[Support request] Conditional buttons on navigation

Home Forums Support Conditional buttons on navigation

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1262727
    Minerva

    Good morning, I have two questions: 1 How can I make a button from the main menu appear on the entire site except the home page? And the second is: what is the id class of the buttons of the main menu? I can’t find it with the inspect tool. Thank you

    #1262799
    David
    Staff
    Customer Support

    Hi there,

    1. give the Menu item a CSS Class. Example: not-home
    Note: You can add more then one class to the menu item eg. nav-button not-home

    then add this CSS:

    .home .main-navigation li.not-home {
        display: none;
    }

    2. What exactly are you trying to do ?

    #1262827
    Minerva

    Thank you, all resolved, the second question I have also solved!

    #1262828
    David
    Staff
    Customer Support

    Glad to hear that 🙂

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