Jump to content

how to remove blank space between logo, links, and elements in header?

Recommended Posts

hi all,

Im trying to remove the padding between the links, header, and elements of my header in 7.1. I am able to change the spacing between the links themselves, but I want them to be able to fill all the space in the center of the header. Also, is there a way to have the distance between the social links and the page links independent of each other? @tuanphan938531475_ScreenShot2020-11-16at11_12_09AM.thumb.png.8675e946d5efdbc7f249a920002c2ac0.png

Screen Shot 2020-11-16 at 11.13.08 AM.png

Link to comment

Hi,

Try adding to Home > Design > Custom CSS. If it doest work, please share site url.

/* Nav one line */
.header-title-nav-wrapper {
    flex: 1 0 90%;
}
.header-layout-nav-center .header-nav {
    width: 100% !important;
    flex: 1 1 100%;
}

 

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
On 11/17/2020 at 3:04 AM, tuanphan said:

Hi,

Try adding to Home > Design > Custom CSS. If it doest work, please share site url.


/* Nav one line */
.header-title-nav-wrapper {
    flex: 1 0 90%;
}
.header-layout-nav-center .header-nav {
    width: 100% !important;
    flex: 1 1 100%;
}

 

this fixed it!

Link to comment
  • 2 years later...
On 11/17/2020 at 2:04 AM, tuanphan said:

Hi,

Try adding to Home > Design > Custom CSS. If it doest work, please share site url.

/* Nav one line */
.header-title-nav-wrapper {
    flex: 1 0 90%;
}
.header-layout-nav-center .header-nav {
    width: 100% !important;
    flex: 1 1 100%;
}

 

I've got the same issue, @tuanphan, but I'm not sure where "home" > "design" is. I tried putting your code under the gear icon for the home page > advanced > custom CSS snippet. But it just showed the code along the top of the website when applied.

Any advice?!

My URL is currently welcholsen.squarespace.com and right now, if I'm previewing on a smaller desktop / device size, the nav links wrap to two lines.

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.