Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Dante
  • #35143
    don4law
    Member

    What is the css for hiding the main menu in one of the pages in my site? A previous posting was for the top menu, but I want to extend it to the main menu as well. The css provided for the top bar was:

    .page-id-1 #top-bar, .page-id-20 #top-bar {
    display: none;
    }

    I have tried a few variations for the main menu, but not sure what it is. Thanks.

    #35212
    Tahir – SUPPORT
    Member
    Post count: 1212

    Hi,

    Please see Screenshot Link: http://prntscr.com/28m90h . You can use the id’s shown in the screenshot to remove the top three areas of the header. The css would be like this

    .page-id-1 #header {
    /* for whole header except the top bar */
    display: none;
    }
    .page-id-1 #top-header {
    /* for top header */
    display: none;
    }
    .page-id-1 #undefined-sticky-wrapper {
    /* for the sticky header */
    display: none;
    }

    Let me know.

    Thanks
    Tahir

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register