Home Forums Pro Themes Education Hub Pro How to hide primary menu and header from single page?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26765
    meshela
    Participant

    Hello, I would like to hide from a specific page the primary menu and the header, I tried to add to Custom CSS .page-id-2344 .main_menu {
    display: none;
    } and not working.

    #26768
    wensolutions
    Keymaster

    Hello @meshela,

    If you want to hide both the header and the main navigation from a specific page, you can use the following custom CSS for your page :

    body.page-id-2344 header#masthead, body.page-id-2344 #main-nav {
        display: none;
    }

    Hope this Helps,

    Best Regards !!

    #26849
    meshela
    Participant

    perfect , thanks

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