Jump to content

Replace logo + force burger menu for tablet

Recommended Posts

Site URL: https://vibraphone-dove-dpfn.squarespace.com/

Hi everyone,

My header nav gets really crowded and starts stacking weirdly at around 1538px wide. Once you start scrolling the ugly stacking disappears because I added code to replace the logo with a smaller version upon scroll. 

To help with the stacking issue pre-scroll, I'd like to do two things:

1) Replace the logo with a smaller version starting at 1538px wide.

2) Force the hamburger menu at around 1400px wide.

Password to the site is He@1ing. I would appreciate any help!

Thanks so much!

Kacia

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Add to Home > Design > Custom CSS

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

 

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
12 hours ago, tuanphan said:

Add to Home > Design > Custom CSS


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

 

Thank you! I was having trouble with it and then changed "min-width" to "max-width" and then it worked perfectly!

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.