Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #299783

    Hello, I need to hide main menu on all the pages and blog posts except one. How do I do this? I used to do this trick https://kriesi.at/support/topic/hide-menu-bar-on-single-page/ but there are too many pages by now and I don’t want to add extra CSS for every new page.

    • This topic was modified 10 years, 4 months ago by Vermishelle.
    #299787

    Hi Vermishelle!

    You can use following code in Quick CSS

    nav.main_menu { display: none ;}
    .page-id-5959 nav.main_menu { display: block !important; }

    You can simply change the page id to your page that you would like to display main nav

    Cheers!
    Yigit

    #299807

    Perfect! Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘hide main menu on all pages except a certain one’ is closed to new replies.