Jump to content

Custom hyperlink style

Recommended Posts

  • Replies 3
  • Views 985
  • Created
  • Last Reply
7 minutes ago, dbliss20 said:

Site URL: https://seabass-vuvuzela-ynfj.squarespace.com/testtest

I have three columns on my page. I would like hyperlinks in the columns to have the following characteristics:

1. no underline and wording is blue

2. when i hover over the hyperlink, it becomes bold and underline

 

try

section[data-section-id="60a74a22fe96d458d9b696c1"] p a {
    color: inherit !important;
    text-decoration: none;
}
section[data-section-id="60a74a22fe96d458d9b696c1"] p a:hover {
    color: #09617c !important;
    text-decoration: underline;
    font-weight: bold;
}

 

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
7 minutes ago, dbliss20 said:

Hi, I tried this code and the links are still underlined. I wonder what is still overriding the section's css.

Did you put it in custom css and make sure there is no syntax error

image.thumb.png.17b5aff8fa5203b5ef334719d271a1fa.png

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.