Jump to content

Hamburger Menu on Desktop

Recommended Posts

  • Replies 13
  • Created
  • Last Reply

Top Posters In This Topic

Add to Design > Custom CSS

/* force burger on desktop */
@media screen and (min-width:992px) {
 /* 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;
}
/* menu size */
.header-menu.header-menu--folder-list {
    left: unset;
    width: 30%;
    bottom: unset;
    height: 70%;
}
}

 

Edited by tuanphan

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
On 7/25/2022 at 6:40 AM, krystenjade said:

Thank you @tuanphan

That worked great. Is it possible to have just a small dropdown menu rather than the whole screen overlay? 

 

Like this? or smaller (width + height)?

image.thumb.png.e47a93b110507c0e458c430a52140839.png

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
9 hours ago, krystenjade said:

@tuanphan yes thank you. But smaller width and height if possible. 

Updated above code. You can check it again.

 

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
  • 9 months later...

I have inserted the code from above, but when I go one page further in the menu, for example in the menu on products ... then the menu moves to the left and you see it on the page? 

I have two pictures, I think they explain it better than I do, I hope you can help me. 

Screenshot (10).png

Screenshot (11).png

Link to comment
2 minutes ago, Pylone_mov said:

I have inserted the code from above, but when I go one page further in the menu, for example in the menu on products ... then the menu moves to the left and you see it on the page? 

and there is also this white line for scrolling as soon as i go to the next page in the menu, you can see it in the second picture in the middle. 

 

2 minutes ago, Pylone_mov said:

I have two pictures, I think they explain it better than I do, I hope you can help me. 

Screenshot (10).png

Screenshot (11).png

 

Link to comment

Don't remove any code in your current code. Add this to Design > Custom CSS

@media screen and (min-width:992px) {
.header-menu-nav-folder--open {
    visibility: hidden;
}
}

 

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

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.