Jump to content

Border Around Navigation

Recommended Posts


I used the code below to create borders around my header navigation links. I like it- however, all the spacing on the sides (those 2 empty rectangles) looks funky to me. To solve this, I'm thinking it would be nice to just expand the spacing between the links to fit the width of the page, that way I don't have to have those 2 empty rectangles on either ends. How would I make that happen? 


password: 12345


/* Fullwidth navigation border*/
.header-announcement-bar-wrapper {
    padding-left: 0px !important;
    padding-right: 0px !important;
.header-display-desktop {
    flex-direction: column;
.header-title-nav-wrapper {
    flex: 0 0 100% !important;
    margin-right: auto;
    width: 100% !important;
nav.header-nav-list {
    display: flex;
    width: 100%;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
.header-nav-item a {
    line-height: initial;
    padding-top: 10px !important;
    padding-bottom: 10px !Important;
.header-nav-item {
    border-left: 1px solid white;
    border-right: 1px solid white;
    margin: 0 !important;
    padding-left: 1vw;
    padding-right: 1vw;
    margin-left: -1px !important;

Edited by kaydotjpg
Link to comment
  • Replies 3
  • Views 830
  • Created
  • Last Reply

Top Posters In This Topic

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.