Jump to content

Forcing Hamburger navigation on desktop

Recommended Posts

Site URL: https://cornet-iris-bgm9.squarespace.com/

Hello! I am using this code below to force the desktop version of my website into using the hamburger style navigation, but it seems to be hiding my Cart button altogether. Is there anything I can do to fix this, or does anybody have a better CSS? Thank you!

Password: 222

 

@media screen and (min-width:768px) {
 /* 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;
  
  }
}

 

Edited by ana3000
add code
Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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.