Jump to content

Place the logo in the center with navigation items on each side

Go to solution Solved by tuanphan,

Recommended Posts

I'm using the following code to place the logo in the center with navigation items on each side.
Somehow the distance between the nav. items on the right and the logo and the nav. items on the left and the logo are not the same. I cannot find the way to keep them centered. Attached an screenshot.

/*Secondary Navigation */
.header-display-desktop .header-title {
  height: 8vw !important;
  display: flex;
  align-items: center !important;
  justify-content: center;
}
.header-display-desktop .header-nav {
  position: absolute;
  top: 0;
  margin-top: 0 !important;
  height: 8vw !important;
  display: flex;
  align-items: center !important;
  justify-content: center;
}
.header-display-desktop .header-nav-item:nth-of-type(2) {
  margin-right: 40vw !important;
}

image.thumb.png.91e78c3682f7356ac015c17a76cb008b.png

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

You can change header layout to Left Nav - Middle Logo, then share site url, we can give new code to achieve this layout

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.