Jump to content

Keep Navigation Links Centered

Recommended Posts

Site URL: https://tambourine-oarfish-c28h.squarespace.com/

Using the following code to center my navigation items without stacking, but as the screen size gets smaller the items shift to the left. Any ideas how to keep it centered until the tablet breakpoint?

.header-title-nav-wrapper {
    flex: 1 0 82%;
}
.header-layout-nav-center .header-nav {
    width: 100% !important;
    flex: 0 1 auto;
}
.header-layout-nav-center .header-nav-list {
    justify-content: flex-end;
    flex-wrap: nowrap;
}

https://tambourine-oarfish-c28h.squarespace.com/

password: Bestcannoli2021!

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

On 9/28/2021 at 10:34 PM, dunnard said:

Site URL: https://tambourine-oarfish-c28h.squarespace.com/

Using the following code to center my navigation items without stacking, but as the screen size gets smaller the items shift to the left. Any ideas how to keep it centered until the tablet breakpoint?

.header-title-nav-wrapper {
    flex: 1 0 82%;
}
.header-layout-nav-center .header-nav {
    width: 100% !important;
    flex: 0 1 auto;
}
.header-layout-nav-center .header-nav-list {
    justify-content: flex-end;
    flex-wrap: nowrap;
}

https://tambourine-oarfish-c28h.squarespace.com/

password: Bestcannoli2021!

Have you try the header layout in Home > Pages > Edit Header yet?

http://recordit.co/KRMD50pX2b

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.