Jump to content

Disable Hamburger Menu on mobile

Go to solution Solved by Lesum,

Recommended Posts

  • Solution

@sc484 Hi! You can add this code under Website > Pages > Website Tools > Custom CSS to display the site header the same way on mobile as it appears on desktop.

@media screen and (max-width: 750px) {
    #mobileNav {
        display: none !important;
    }
    #mobileMenuLink {
        display: none !important;
    }
    #header {
        margin-bottom: 0px !important;
    }
    #header #logo {
        float: right !important;
    }
    #header #logo h1 {
        line-height: 1.5em !important;
    }
    #header #topNav {
        display: block !important;
    }
}

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.