Jump to content

Position navigation menu items underneath site title

Go to solution Solved by cjjonesyc,

Recommended Posts

Posted

Please help!

How do I position the navigation menu items underneath the site title? They are currently positioned to the right of the site title.

This is the CSS I currently have:

@media only screen and (min-width:991px) {   
  .page-section:first-of-type {     
    padding-top:0px !important;   
  }   
  .page-section {     
    margin-left: 200px;   
  }   
  #header {     
    width: 200px;     
    position: fixed;     
    height: 100vh;     
    z-index: 99999 !important;     
    display: table;
    writing-mode: horizontal-lr; 
    text-orientation: mixed;
  }   
  .header .header-announcement-bar-wrapper {     
    padding: 10px 10px 10px 10px;   
  }   
  .header-inner{    
    height: 100vh;     
    display: table-cell;     
    vertical-align: top;
  } 
  .header-nav-list {
    justify-content: left !important;
}
}

Screenshot2023-05-30at12_09_36.thumb.png.a0b1ca0bd04046d821aa2509039f1625.pngAlso how can I add in social icons at the bottom left?

All help much appreciated.

Thank you!

Posted

Update: I have managed to position the navigation items under the site title.

I now have another problem - the first item in the nav list is indented. Can anyone tell how to stop it from being indented? 

  • Solution
Posted

Solved this myself. Here's the code if anyones interested: 

@media only screen and (min-width:991px) {   
  
  .page-section:first-of-type {     
    padding-top:15px !important;   
  }   
  .page-section {     
    margin-left: 200px;   
  } 
  #header {  
    padding: 40px 10px 10px 0px;
    width: 200px;     
    position: fixed;     
    height: 100vh;     
    z-index: 99999 !important;     
    display: table;
    writing-mode: horizontal-lr; 
    text-orientation: mixed;
  }   
  .header-nav-list {
    position: fixed;
    flex-direction: column;
    text-align: left !important;
    left: 4%;
    top: 18%;
    z-index: 9999;
}
footer.sections .content-wrapper {
    margin-left: -200px;
}
}

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.