Black Friday sale! Get up to 25% off GP Premium! Learn more ➝

[Resolved] Hide Menu and Logo on Front Page

Home Forums Support [Resolved] Hide Menu and Logo on Front Page

Home Forums Support Hide Menu and Logo on Front Page

  • This topic has 7 replies, 2 voices, and was last updated 6 years ago by Leo.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #427679
    Sebastián

    Hi, I would like to hide the menu and the logo ON MOBILE and only on a specific page.

    Screenshot: https://i.imgur.com/SmNaU4Q.png

    Already hide it on desktop and tablet.

    Also, I would like to center the logo and the menu on mobile.

    Thanks! Im starting a new website with your awesome theme 🙂

    #427748
    Leo
    Staff
    Customer Support

    Hi there,

    Disable the mobile header that’s currently activated: https://docs.generatepress.com/article/mobile-header/

    Then add this CSS to hide the normal header:

    @media (max-width: 768px) {
        .site-header {
            display: none;
        }
    }
    #427756
    Sebastián

    I just want to disable the mobile header in one page, this one: https://sebastiancardozo.com/

    If i do that the header is disable on every single page.

    #427776
    Leo
    Staff
    Customer Support

    Ah sorry I got that code wrong.

    Try this:

    @media (max-width: 768px) {
        .home #mobile-header {
            display: none !important;
        }
    }
    #427777
    Sebastián

    I put it but nothing happens.

    #427783
    Leo
    Staff
    Customer Support

    Edited the code.

    #427785
    Sebastián

    Now it works thanks Leo!

    #427867
    Leo
    Staff
    Customer Support

    No problem!

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