Jump to content

How to get navigation bar on one line

Recommended Posts

  • 1 month later...
  • 2 weeks later...
1 hour ago, nataliaswarz said:

I need mine to be in one line too.

Space has been reserved on the right for a number of header actions. As you only have one, you should be able to reduce the reserved space by adding something like this (to Design > Custom CSS):

.header-actions.header-actions--right {
  width: 10%;
}

441470561_Screenshot2020-10-21at18_02_12.thumb.png.ebf5c3edc01444d7b7d4aa35e130f321.png

Notes:
1. This is for Squarespace 7.1
2. The percentage value will need to be adjusted for different sites.

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

Link to comment
  • 3 weeks later...
3 minutes ago, hellohappy said:

www.hellohappyhq.com
password: goods

Add to Home > Design > Custom CSS

/* 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
  • 3 weeks later...
4 hours ago, Thomas_Agapo said:

Hi, I have the same problem

 

https://www.agapo.co.uk/

I wonder would anyone be able to help me get the headers all on one line ? 

Also I cant add social icons ? I have linked them correctly etc they were working previously

How did you add social icons?

Also I see one line here. Did you solve? If no, which device/screen size did you use?

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
  • 1 month later...
  • 2 months later...
  • 3 months later...
19 hours ago, Asiya said:

Hi, @tuanphan I tried this code to make my navigation items in one line but it didn't work for me. can you take a look into this.

https://www.thebrilliantbreakfast.co.uk/

It looks like you sent me a message?I send code. You can check

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 4/6/2021 at 5:39 AM, Wixy080 said:

Hello,

I am having the same problem.  I can't get the navigation bar onto one line.  The codes above aren't working

www.hannahverghese.com

Thank you

Add to Design > Custom CSS

nav.header-nav-list {
    flex-wrap: nowrap;
}
.header-title-nav-wrapper {
    flex: 100% !important;
    margin-left: 0 !important;
}
.header-display-desktop {
    flex-direction: column;
    justify-content: center;
}

 

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
  • 2 months later...
  • 1 month later...
On 7/21/2021 at 5:07 AM, tuanphan said:
nav.header-nav-list {
    flex-wrap: nowrap;
}
.header-title-nav-wrapper {
    flex: 100% !important;
    margin-left: 0 !important;
}
.header-display-desktop {
    flex-direction: column;
    justify-content: center;
}

Thank you!

This works really well to keep the navigation on one line... but is there a way to hide the social links so they don't cover it at a smaller screen size? OR scale down the header navigation so there's not an overlap?

Here's my site: https://its1647.squarespace.com/

Password = teach

Thanks!

 

Link to comment
On 12/4/2021 at 9:56 PM, NIkiL said:

Thank you!

This works really well to keep the navigation on one line... but is there a way to hide the social links so they don't cover it at a smaller screen size? OR scale down the header navigation so there's not an overlap?

Here's my site: https://its1647.squarespace.com/

Password = teach

Thanks!

 

Which screen size do you see problem? I tried resizing browser & It works fine here

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
  • 1 month later...

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.