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
  • Views 370
  • Created
  • Last Reply

Top Posters In This Topic

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.