Jump to content

Change horizontal navigation to vertical

Recommended Posts

Posted

Hello!

I am trying to change my horizontal navigation bar to vertical, I found the code to do this by looking at similar questions on the forum but when I type it in nothing

happens after saving & clicking refresh. I noticed the following note above css page  and wondered if this would apply to the navigation bar also? Note: Custom CSS does not apply to Cover Pages. 

Here's the code I used:

 

 .Header-nav-inner {
    height: unset !important;
    width: unset !important;
    display: flex !important;
    flex-direction: column;
}

 

Thanks,

Sarah

 

 

  • Replies 10
  • Views 1.9k
  • Created
  • Last Reply
Posted

Thanks, but would you mind showing me how you'd wrap in the css to the below code & add to page cover header?

Sorry...I'm new to using code! 

🙂

.Header-nav-inner {
    height: unset !important;
    width: unset !important;
    display: flex !important;
    flex-direction: column;
}

Posted

Thanks for your help...but it hasn't worked, does the below look like the right place to put the code?

Settings>Advanced>Code injection

2139494540_Screenshot2020-01-06at14_32_41.thumb.png.8b025782370f01991f5ffef3fed50b78.png

 

Posted

ok so the only other options I can see are:

1, Edit site header - which gives no option to insert code

2, The block above edit site header is titled page over view and there is an option to insert code there under page settings

Perhaps I have deleted cover page header....as I can't find it anywhere!

  • 4 weeks later...
Posted

I am trying to do the same as Sarah and having the same issue. Can you help, please?

Archived

This topic is now archived and is closed to further replies.

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