Jump to content

Increase content width / reduce padding for navigation

Recommended Posts

I'd like to increase the content width for navigation on my site so that it doesn't wrap into another row as the screen size gets smaller. Image attached, any help would be much appreciated! The other objects in the header are at the right width but for some reason the navigation gets cut short. Using 7.1.

Screen Shot 2020-09-14 at 12.34.36 PM.png

Link to comment
  • Replies 2
  • Views 448
  • Created
  • Last Reply
On 9/20/2020 at 2:30 AM, tuanphan said:

Can you share site url? We can check easier.

Hey, it's still in draft mode but I managed to find a code to do this. It works for now, as long as they don't want to add any more to the navigation! Let me now what you think of the code.

.header-layout-branding-center-nav-center .header-title-nav-wrapper {
    flex: 0 0 69%;
}

Link to comment

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.