Jump to content

How To Add Hamburger Menu on Mobile

Recommended Posts

Site URL: https://www.thenativecoffeecompany.com

I am trying to add a Hamburger menu to my mobile site. Right now on my desktop I added a button entitled, "Menu" that links to a separate page that I am using as a menu page (https://www.thenativecoffeecompany.com/menu). On the mobile site, neither the button nor a hamburger menu show up...I am trying to add a simple hamburger menu on mobile that links to this menu page. 

Screen Shot 2021-02-06 at 12.08.54 PM.png

Screen Shot 2021-02-06 at 12.09.04 PM.png

Screen Shot 2021-02-06 at 12.10.08 PM.png

Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Add to Design > Custom CSS

.burger-box div {
    display: block !important;
}
.burger-box div div {
    background: white !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
Quote

.burger-box div {
    display: block !important;
}
.burger-box div div {
    background: white !important;
}

@tuanphan - Thanks! This added the hamburger menu. 2 other questions.

1. How do I like the hamburger menu to go to my menu page (https://www.thenativecoffeecompany.com/menu)

2. How do I make the hamburger menu color responsive to the background (some pages would need to be black (on lighter backgrounds) and some need to be white (on darker backgrounds)

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.