Jump to content

Expand width of primary navigation in Brine template

Go to solution Solved by Ziggy,

Recommended Posts

Posted

Hello! I hate that this centered navigation overlaps on smaller screens (such as my laptop). I searched for solutions but nothing worked.

Using the Brine template here. Primary Nav position is Top Center.

gregghill.com

Thank you!

Screen Shot 2023-10-08 at 9.40.51 AM.png

  • Solution
Posted

The problem you've got is that this header layout, is that it puts the header into 3 even columns which on a smaller screen constrains the navigation to one third.

 

image.thumb.png.b69913d8e2e1f04dfeebcec8ff82a0ef.png

 

We can tweak that with Custom CSS, this may not be perfect, but worth a shot!

.Header-nav {
    position: absolute;
    margin-top: clamp(120px, 18vw, 250px);
}

 

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

The problem you've got is that this header layout, is that it puts the header into 3 even columns which on a smaller screen constrains the navigation to one third.

 

image.thumb.png.b69913d8e2e1f04dfeebcec8ff82a0ef.png

 

We can tweak that with Custom CSS, this may not be perfect, but worth a shot!

.Header-nav {
    position: absolute;
    margin-top: clamp(120px, 18vw, 250px);
}

 

 

Brilliant! Thank you! I knew the header was split into thirds, but didn't know how to adjust that. 

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.