• Resolved amazone2

    (@amazone2)


    Hello,

    I would like to know if it is possible and how to deactivate the header of my website on mobile device, so mobile menu plugin can take over that function on mobile.

    The current header looks great on big screen but gets squished on the small one, and I would like to improve on that.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • annezazu

    (@annezazu)

    Hey there! Thanks for your question. There’s not a way to hide the header template part out of the box but you can do this with Custom CSS. For example, the following CSS hides the header template part when the screen size is smaller than 768px on my test site:

    @media only screen and (max-width: 768px) {
    header.wp-block-template-part {
    display: none;
    }
    }

    Note: you might need to tweak the above to work for your specific site. You’ll want to add this CSS in the Custom CSS section of Styles as described in this support document. You can also use the Command Palette to get their faster by. Just use the keyboard shortcut?Cmd+kon Mac or?Ctrl+k?on Windows to activate it?and start typing “CSS”.

    Hope this helps!

    P.S. I am also a huge admirer of the lovely Julie Andrews. What a great site.

    Thread Starter amazone2

    (@amazone2)

    Hello @annezazu

    Thanks for your compliment on our website!

    And yes I managed to get this work!

    Our fans who complained about the look on their phones will be super happy!! I sure am happy with the result!

    Thanks very much!

    annezazu

    (@annezazu)

    Fantastic to hear! I just checked and can confirm it’s working great on my end.

    Happy WordPress-ing ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to deactivate header on mobile device only’ is closed to new replies.