remove menu bar

Front page Support Forums Sensei Theme Support remove menu bar

This topic contains 2 replies, has 2 voices, and was last updated by  hrimati 2 years, 9 months ago.

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

    hrimati
    Participant

    Hi Andrii,

    I was wondering if there is an easy way to remove the menu bar and search widget for just certain pages?
    I am creating a sales page and I have received lots of advice to remove the menu bar from the page…
    Thanks,
    Susan

    #6725

    satoristudio
    Member

    Hey Susan,

    in order to hide the menu and the search bar from specific pages, please add the following pieces of code to the theme’s “style.css” file (opens by default when you visit “Appearance -> Editor”), one set for each page where you want to hide these elements:

    .page-id-XX #nav-primary, .page-id-XX #header-right {
    display: none;
    }
    

    The two instances of “XX” should be replaced with the ID of the page in question; you can get a page’s ID by entering the edit mode for that page – the numbers after “post=” in your browser’s address bar.

    Sincerely,
    Andrii / Satori Studio

    #6729

    hrimati
    Participant

    Perfect!
    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.