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;
  
  }
}

 

Link to comment
  • Replies 1
  • Views 326
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.