Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

How to make nav bar remain in one line on various screens?


Momo222

Question

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

1 answer to this question

Recommended Posts

  • 0
On 7/30/2021 at 8:48 PM, Momo222 said:

Site URL: https://parrot-apricot-rfb9.squarespace.com/

Hello everyone, 

Is there a code that would make my nav bar remain the same on all screen sizes (exc. mobile). I would like to have it all in one line, no matter the size of desktop. Atm, links fall into 2 rows when resizing, while ideally I'd like it all in one.

Is it possible? Thanks so much for your help! x

Add to Design > Custom CSS

/* nav one line */
nav.header-nav-list {
    white-space: nowrap !important;
    width: 100% !important;
}
.header-title-nav-wrapper {
    flex: 100% !important;
}
.header-display-desktop {
    flex-direction: column;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

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