Jump to content

How to add lines under folder pages

Recommended Posts

  • Replies 5
  • Views 381
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

17 hours ago, inham said:

Hi,

I would like to add lines under my pages when you hover over them. Is it possible?

Thanks!website2.thumb.jpg.0ce4885f7b0d9be23d8bb2d903d96e99.jpg

For community 's support, you should set your site with protected password and share them (site url & password) for us to access and check your issue properly

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 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
38 minutes ago, inham said:

Hi,

Hopefully it works!

https://wolverine-polygon-atzy.squarespace.com/config/settings

password: jewellery21

You can try adding to Home > Design > Custom Css

.header-nav-item {
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: 1s;
  -webkit-text-decoration-color: transparent;
  -moz-text-decoration-color: transparent;
}

.header-nav-item:hover  {
  text-decoration-color: inherit;
  -webkit-text-decoration-color: inherit;
  -moz-text-decoration-color: inherit;
}

It  can be easier with the hover effect that sets underline navbar but with above code, we can have a little smooth transition in underlying.

Hope it can help you.

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Edited by bangank36

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 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

My testing result

In addition, you can speed up or speed down the transition with the time in Css style

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 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.