Jump to content

Creating centered navigation menu on ONE line

Recommended Posts

Hi,

I would like my header to have the following format:

Logo              Navigation menu             Social buttons

 

I've figured out how to do this, but the pages in the navigation menu are spilling onto two lines instead of decreasing the space between the menu and the logo/social buttons.

 

Does anyone know how to remedy this? Seems like a margins/padding issue.  I do not want to change the font/spacing of the nav menu titles. 

Screen Shot 2021-12-15 at 4.58.19 PM.png

Link to comment
On 12/18/2021 at 12:18 AM, HTechnical said:

Sure! It's still a work in progress but here it is: www.joshuapearl.com

 

Thank you in advance!!!

Add to Design > Custom CSS

nav.header-nav-list {
    flex-wrap: nowrap;
}
.header-title {
    width: 20% !important;
    flex: 1 1 20% !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.