Jump to content

Reduce space between nav bar elements

Recommended Posts

  • Replies 2
  • Views 1.5k
  • Created
  • Last Reply
On 8/7/2021 at 7:45 AM, c0rrupted said:

Site URL: https://cliniquedentaireantoinesabeh.com/

Hi, I want to reduce the space between the logo, the main nav and the button on my webstie, so the nav menu in the middle can be on ONE LINE only.

Thanks

Hi, Add this to Design > Custom CSS

/* logo nav button same line */
.header-nav {
    width: 90% !important;
    flex: 1 1 90% !important;
}
nav.header-nav-list {
    white-space: nowrap !important;
    flex-wrap: nowrap;
}

 

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!)

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • 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.