Jump to content

Add horizontal line between links on nav bar

Go to solution Solved by Beyondspace,

Recommended Posts

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

2 hours ago, Jiji said:

Hi y'all, 

I'd like to know how can I add horizontal divided lines like this between the links on my navigation bar.

Thank you so much for your help!

Screen Shot 2023-01-12 at 8.56.42 PM.jpeg

Try adding to Home > Design > Custom Css

.header-nav-list > .header-nav-item:after {
  content: '';
  width: 20px;
  height: 1px;
  display: block;
  background: red;
  margin-left: 1.2vw;
}
.header-nav-list > .header-nav-item {
  display: flex;
  align-items: center;
}
.header-nav-list > .header-nav-item:last-child:after {
  content: unset;
}

Support me by pressing 👍  or marking as solution if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
  • Solution

My testing

image.thumb.png.2d0f9d94ecad9f03921c47e97acd101f.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

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.