Jump to content

Remove hyperlink underline on image card

Recommended Posts

Posted

I'm wanting to remove the underline on all hyperlinks on a website and have managed to do this for everwhere but the image card. 

Does anyone know the CSS to do this? Image and ID's attached.

image.thumb.png.6e2cb52353b1fe605c89a277b9a1598e.pngTIA!

Posted

Please post the URL for a page on your site where we can see your issue.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted
3 hours ago, creedon said:

Please post the URL for a page on your site where we can see your issue.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

Cheers. The link is: https://wakatipu-hr.squarespace.com/ and the pw is wakatipu

Appreciate you looking into it.

Posted

The issue is that SS is setting the underline with the style attribute on the element. Doing it this way makes our lives more difficult!

Try the following.

a span {

  text-decoration : none !important;
  
  }

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted
9 minutes ago, creedon said:

The issue is that SS is setting the underline with the style attribute on the element. Doing it this way makes our lives more difficult!

Try the following.

a span {

  text-decoration : none !important;
  
  }

Let us know how it goes.

Brilliant, that did the job, thanks so much!

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.