Jump to content

How to get navigation bar on one line

Recommended Posts

  • 1 month later...
On 10/8/2020 at 4:44 PM, Irasroom said:

Has this been solved? I need help doing this also

 

You can share site url, we can check easier.

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 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.

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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

hi! can someone help? trying to get ours on one line too. 

tried the custom css code above, but it didn't seem to work?

Can you share site url? We can help easier.

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 1 month later...
On 1/19/2021 at 8:10 PM, StephMonaco said:

Hello, I have the same problem, but when I use the fix the navigation is no longer centered. 

www.windandsalt.com 

Hi. It looks fine here. Did you solve it?

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 2 months later...
On 10/6/2021 at 3:13 AM, Havapoodle said:

@tuanphan when I use this code, it pushes my cart off the page or it doesn’t center the nav. Can you please help?

Hi,

I don't see the cart. Can you add it?

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.