Jump to content

Center Nav without Stacking

Go to solution Solved by tuanphan,

Recommended Posts

Posted
4 hours ago, kaydotjpg said:

@tuanphan it worked! however now the header/nav is off centered. Can you help with this?

Add this code under

.header-layout-branding-center-nav-center .header-title-nav-wrapper {
    width: 100% !important;
    flex: 0 0 100% !important;
}
div.header-actions-action a.cart-style-icon {
    position: relative;
    right: 3vw;
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • 2 weeks later...
Posted

Use this new code

@media screen and (min-width:992px) {
.header-layout-branding-center-nav-center .header-title-nav-wrapper {
    width: 100% !important;
    flex: 0 0 100% !important;
}
div.header-actions-action a.cart-style-icon {
    position: relative;
    right: 3vw;
}
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.