Jump to content

changing the navigation/header bar from horizontal right to the left & vertical

Recommended Posts

I am looking to make the navigation and header bar a list running vertically that is justified to the left of the page. Here is an example of the type of header I am looking for. I would also like the navigation list to be fixed and 'follow' you as you navigate and scroll the site. Can someone help me figure out the css code for this and how to apply it? Please view example below.

image.thumb.png.8bf86ce1c3c9c93442e90e60d840193b.png

 

Edited by arkitekt
added url
Link to comment
  • Replies 10
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Try adding this to Design > Custom CSS

// Vertical Navigation //

.header-nav-list {
  width: 135vh !important;
  padding: 25px;
  background: #000000;
  position: fixed;
  -webkit-transform:rotate(-90deg)translateX(-85%);
  -webkit-transform-origin: top left;
  left: 0px;
  top: 0px;
  text-align: center;
  z-index: 999;
}

 

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 3/12/2023 at 1:19 PM, arkitekt said:

@tuanphan I tried the code you provided but got this black bar. Could you please help resolve to get the vertical header??

What is your site url? We can check problem easier

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
  • 10 months later...
  • 2 months later...
On 4/16/2024 at 3:04 AM, Emmaline said:

@tuanphanHi, would you be able to update this code for me so it doesn't have a black bar on the side? My website is this. Thanks. https://www.emmalinecarter.com/

I don't see black bar. Can you take a screenshot?

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

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.