[Resolved] Second menu on single pages

Home Forums Support Second menu on single pages

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #124842
    Anders N

    Hey!

    I need to add a second menu on a single page on my website!
    I have no clue how to work with php, or any other coding languages at all..
    So, a widget, a how-to guide or something else that’s pretty simple would be appreciated!
    Could any of you guys help a poor man out?

    Thank you

    #124916
    bdbrown

    Hi Anders. You could use the Secondary Nav Add-on and use css to display it on only one page. Or you could add a Custom Menu widget to a sidebar and either display that sidebar only on one page or, if the sidebar is used on other pages, use css to display the widget on only one page.

    #124935
    Tom
    Lead Developer
    Lead Developer

    To add to the above, to make it only display on one page you would have to use some simple CSS:

    .secondary-navigation {
          display: none;
    }
    
    .page-id-xx .secondary-navigation {
          display: block;
    }

    .page-id-xx will change depending on your page.

    Say your page has an ID of “11”, it would be:

    .page-id-11

    #126041
    Anders Nordhagen

    Hi, sorry for me answering late!
    It did work out perfectly! thank you!

    #126051
    Tom
    Lead Developer
    Lead Developer

    You’re welcome – glad I could help 🙂

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