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 6
  • Created
  • Last Reply

Top Posters In This Topic

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

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

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

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.