How to add a hamburger/text menu to your Squarespace 7.1 desktop site using CSS
Pin to save for later
A great option to achieve a minimal Squarespace website design is to incorporate a hamburger menu on your desktop site. This navigation style helps declutter your interface, allowing visitors to focus on your content without distractions.
While the hamburger menu is often associated with mobile design, applying it to desktop versions can offer a modern and minimal aesthetic that enhances your site's visual appeal. Plus, it ensures a consistent user experience across devices, giving your visitors the same streamlined navigation whether they’re on mobile or desktop.
In this guide, we'll walk you through two options for adding a mobile-style menu to your Squarespace 7.1 desktop site using CSS:
A classic hamburger menu on desktop
A text-based menu as an alternative to the hamburger icon
Let’s get started!
OPTION 1
How to add a hamburger menu to desktop
From your Squarespace dashboard, go to:
Pages > Scroll down to Website Tools > Custom CSS
Copy & paste the CSS in the box below
Save!
// HAMBURGER MENU ON DESKTOP @media screen and (min-width:768px) { .header-nav { display: none; } .header-actions { display: none; } .header-burger { display: flex; } .header--menu-open .header-menu { opacity: 1; visibility: visible; } }
To change your logo position, go to:
Edit Mode
Hover mouse over navigation & click “Edit Site Header”
Click “Edit Design”
Select layout of choice
OPTION 2
How to use text for your mobile menu icon (instead of a hamburger icon)
From your Squarespace dashboard, go to:
Pages > Scroll down to Website Tools > Custom CSS
Copy & paste the CSS in the box below
Save!
// MOBILE MENU ON DESKTOP @media screen and (min-width:768px) { .header-nav { display: none; } .header-actions { display: none; } .header-burger { display: flex; } .header--menu-open .header-menu { opacity: 1; visibility: visible; }} .burger-box div { display: none; } // CUSTOMIZE MENU TEXT @media screen and (min-width:640px) { .burger-box:after { content: "MENU"; text-align: right; font-size: 16px !important; color: #000000; display: block !important; }}
Important notes:
content: "MENU"; — controls the text that will appear in replacement of the hamburger. Be sure to keep quotation marks if updating the text (eg. “EXPLORE”)
font-size: 16px !important; — controls the font size (update 16px to font size of choice)
color: #000000; — controls the color of the menu text (update #000000 to HEX code of choice)
All set!
Use discount code STYLEDSQUARE10 to save 10% off your Squarespace Subscription!
* Disclaimer: This post contains affiliate links. We may earn a commission should you chose to sign up for Squarespace using our link. Affiliate links are a great way to show your support for our content with no additional cost to you!