Jump to content

Menu elements stacking in header

Recommended Posts

Posted

Something on my header (https://dala-dev.squarespace.com/  PW: test) is causing the menu items to stack instead of shrink together on slightly smaller screens. I like the hamburger for tablet and mobile, but the menu items are stacking at more than 1500px screens. 

I tried to just make the fonts smaller, but they're still stacking. Any ideas? I just want them to line up until at least a screen size of 1240 or so. 

image.thumb.png.b2a519591793682f75367aab0bfdfeee.png

Posted

Try adding this to the Custom CSS on your website:

.header-title-nav-wrapper {
    flex: 1 0 76%;
}
.header-layout-nav-left .header-title {
    margin-right: 3vw;
}
.header-actions--right .header-actions-action {
    margin: 0 0 0 3vw;
}

You could also adjust the link spacing to the smaller and make the font a little smaller. All of that together should help.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted
3 hours ago, Ziggy said:

Try adding this to the Custom CSS on your website:

.header-title-nav-wrapper {
    flex: 1 0 76%;
}
.header-layout-nav-left .header-title {
    margin-right: 3vw;
}
.header-actions--right .header-actions-action {
    margin: 0 0 0 3vw;
}

You could also adjust the link spacing to the smaller and make the font a little smaller. All of that together should help.

Thanks! I've reduced everything as small as it will go already, and it gets close but still stacks. The CSS you gave me doesn't do anything that I can tell unfortunately. It's so weird - it looks fine when I inspect it, but when I reduce the window myself, everything stacks.

 

Posted

It's not stacking any more when I look at your website.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

  • 1 year later...
Posted
4 minutes ago, moonlitdesign said:

I have a side bar menu set up and am struggling to target the right elements. 

 

When is it not stacking?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted (edited)
5 minutes ago, Ziggy said:

When is it not stacking?

always, currently it proceeds the width of the sidebar background and doesn't stack at all. 

i'd love the longer page titles to stack so i can reduce the overall width of the header background. i feel like i've done it all a backwards way but i wasn't able to find anything other than how i've set this up!

 

image.thumb.png.1fe6385c3ddf4f746a4d945f31e5fe88.png

 

Edited by moonlitdesign
Posted

To clarify, you're wanting the words within a single link to wrap to another line so the navigation can be narrower?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted
10 minutes ago, Ziggy said:

To clarify, you're wanting the words within a single link to wrap to another line so the navigation can be narrower?

correctt yess, that would be amazing if possible thank you!

Posted
13 minutes ago, moonlitdesign said:

correctt yess, that would be amazing if possible thank you!

Could you make the side navigation the width that you would like it to be?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted (edited)
4 minutes ago, Ziggy said:

Could you make the side navigation the width that you would like it to be?

done ! 😄 thank you , if possible the code for same thing to happen with the drop down folders would be amazing too🙏🏼

Edited by moonlitdesign
Posted

Start with this CSS:

.header .header-nav-wrapper a {
    width: 160px;
    word-wrap: break-word;
    white-space: normal;
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted
5 minutes ago, moonlitdesign said:

if possible the code for same thing to happen with the drop down folders would be amazing too🙏🏼

And this for the folders:

.header-nav .header-nav-item--folder .header-nav-folder-content {
  min-width: 160px;
  max-width: 160px;
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted
Just now, moonlitdesign said:

@Ziggy it's perfect thank you so much!!!!

Brilliant, will you give my answers a like? Thanks!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.