Jump to content

Adding border to nav bar only (not the whole header)

Recommended Posts


Ah, I adjusted the code above and figured it out.

If any one else needs it:

 

/*line above and below nav bar*/
.header-layout-branding-center-nav-center .header-title-nav-wrapper {
    flex: 100% !important;
    flex-direction: column;
    width: 100% !important;
}
.header-display-desktop {
    flex-direction: column;
}
.tweak-fixed-header .header .header-announcement-bar-wrapper {
    padding-left: 0;
    padding-right: 0;
}
.header-nav {
    width: 90%;
    border-top: .8px solid #c5c3c3;
    padding-top: 15px;
}
.header-nav {
    width: 90%;
    border-bottom: .8px solid #c5c3c3;
    padding-bottom: 15px;
}

 

 

 

 

Screen Shot 2023-03-30 at 5.56.08 PM.png

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.