Jump to content

Avoid navigation links stacking with centre logo

Recommended Posts

Hi there, 

I have a central logo placement with navigation links on the left side. Currently when I make my desktop window smaller, the links will stack over 2 or 3 lines.  I have already reduced the font size of the links but can't make it any smaller. 

To fix this I have used a code below, which partly works but it allows for the logo to go OVER the links which is not user friendly. 

nav.header-nav-list {
    flex-wrap: nowrap !important;

Can somebody please assist to ensure that when I make my window smaller, the links don't stack AND the logo doesn't cover the links. 


url:  https://roadrunner-maracas-sryk.squarespace.com/

password: burom


Screenshot 2024-02-09 at 10.19.53 am.png

Screenshot 2024-02-09 at 10.20.04 am.png

Link to comment
3 hours ago, BUROM said:

Hi @tuanphan I'd like to explore the (2) option. Not sure how I set up the breakpoint to force mobile menu at a certain size only. Can you assist with that? Thank you 


Suppose you want burger menu appears on screen size 990px to 1100px, use this CSS code

@media screen and (min-width:990px) and (max-width:1100px) {
div.header-display-desktop div.header-burger {
    display: flex !important;
    position: absolute;
    left: 0;
div.header-display-desktop div.header-nav {
    visibility: hidden;


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

I have been able to solve the issue  with the below code: 

@media only screen and (min-width: 785px) and (max-width: 1100px) {
.header-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 9999;

Thanks for your help


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.