Jump to content

Increase spacing of text link underline when added as hover

Recommended Posts

Hoping someone can help with this. I've added the below CSS to display an underline when text links are hovered over

/* End Insert Code for Mobile*/
h1 a, h2 a, h3 a, p a {
  text-decoration: none !important;

h1 a:hover, h2 a:hover, h3 a:hover, p a:hover {
  text-decoration:underline !important;

I want to increase the spacing between the bottom of the text and underline so that the line isn't cut off by the low-hanging letters. Anyone have any thoughts?

Site is: https://celery-helicon-5yx8.squarespace.com/ (no password)

Screenshot 2024-01-12 at 15.56.16.png

Link to comment
  • Replies 1
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.