Jump to content

Centering Top Navigation

Recommended Posts

Hi all,

I'm using SquareSpace 7.1 and I hate the way the top navigation stacks onto two lines because of the # of navigation items I have. See reference below:

1257886259_ScreenShot2020-06-23at5_04_57PM.thumb.png.261161de721fe7128594ed48316162a7.png

I was able to fix this by adjusting the width of the nav header with css but now it's off-center. See code & screenshot for reference below:

.header-layout-nav-center .header-nav {
    width: 100%;
    text-align: center;
    flex: 1 1 100%;
}

863079839_ScreenShot2020-06-23at5_06_19PM.thumb.png.3a2e9056c8d1dcd4d3bf742e7add61bc.png

I've hit a bit of a wall with this. Any ideas for how I can center the navigation while keeping it at this width to avoid it stacking?

Thank you in advance, I appreciate it. 

Link to comment
  • Replies 0
  • Views 1.4k
  • Created
  • Last Reply

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.