Jump to content

Move logo on vertical nav bar

Recommended Posts

Hi, 

I copied CSS code to switch to a vertical navigation bar which worked fine, however I'm having a few issues with my logo and page placement. I would like to move my logo more aligned to the left side of the screen and my logo currently is overlapping the links to the different pages which I want to change: see photo.

Also this is the code I used for the vertical nav bar. Do I change anything here to adjust these things? 

/* Float header */
@media screen and (min-width:992px) {
  .header-title {
    position: fixed;
    top: 3vw;
    left: 5vw;
    z-index: 9999;
}
.header-nav {
    position: fixed;
    top: 30%;
    left: 4vw;
    padding: 0 !important;
    transform: translateY(-50%);
}
  nav {
    flex-direction: column;
  }
  div.header-nav-item {
    margin: 0 !important;
    text-align: left !important;
}
  div.header-nav-item  a{
   display: inline-block;
}
.header-actions.header-actions--right {
    position: fixed;
    left: 5vw;
    bottom: 2vw;
    justify-content: flex-start !important;
}
.header-actions--right .header-actions-action a {
    margin-left: 0 !important;
    margin-right: 2.5vw;
}
#page article section {
    max-width: 75%;
    margin-left: 25%;
    padding-top: 0 !important;
}
}



image.thumb.png.63077a4bc617b7d049906100492040d2.png

Link to comment
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Don't remove any code in CSS code, add this under to prevent overlap

@media screen and (min-width:992px) {
.header-nav {
    top: 50% !important;
    transform: translateY(-50%) !important;
}
}

 

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.