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
  • Views 668
  • 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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, 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.