Force the mobile menu on desktop and tablet for squarespace 7.1

force the mobile menu on desktop and tablet for Squarespace

So your building a beautiful site on squarespace! But you would like that simplistic and stylish navigation look by only showing a forcing the mobile hamburger menu to appear on desktop and tablet screen sizes, I get it. Here’s a very quick and simple piece of CSS code to do just that! We will simply remove the full navigation menu all together on squarespace 7.1 Then add the below code to your custom css. Go to > Design > Custom CSS and paste the code. Don’t forget to hit save!


CSS code for 7.1

 /* hide navigation */
    .header-nav {
    display: none;
}
/* Hide header button */
.header-actions {
    display: none;
}
/* show burger */
.header-burger {
  display: flex;
}
/* Show overlay mobile menu */
.header--menu-open .header-menu {
opacity: 1;
visibility: visible;
}
}

I hope you found this CSS guide for forcing the mobile menu on desktop screens useful. You might also be interested in my article on ‘adding text to the Squarespace hamburger menu’ check it out!

Feel free to sign up to my newsletter for more Squarespace hints & tips!

Did I help you? Consider buying me a coffee as thanks!

Toni Williams - Founder of The Square Genius

Hi, I’m Toni. My mission is to create powerful websites for charities, non profits and purpose-led organisations dedicated to making a positive impact on the environment, communities, animal welfare and many more.

https://www.thesquaregenius.com/author-toni-williams
Previous
Previous

Add a drop shadow to list page items in squarespace 7.1

Next
Next

5 Tips for Creating a Stunning Squarespace Website