Re: help thinning underline when hovering product card

Solved

help thinning underline when hovering product card

viggostarcke
Excursionist
26 1 3

hey I need help thinning the underlining on hovering the product cards on my home page

viggostarcke_0-1699475135373.png

as seen in the pic above, I would like the the underline on "ALL HEAVENS" to be thinner.

 

https://kyototango.com/

 

thanks in advance

Accepted Solution (1)
viggostarcke
Excursionist
26 1 3

This is an accepted solution.

did however find out myself

under the file 'component-card.css' i find the targeting
'.underline-links-hover:hover a'
and then add 'text-decoration-thickness: 0.01em;'

View solution in original post

Replies 3 (3)

PageFly-Oliver
Shopify Partner
878 190 190

Hi @viggostarcke ,

 

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

<style>
.card__heading[id*="title-template--"]{
text-decoration:none !important
}
</style>

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

viggostarcke
Excursionist
26 1 3

sorry but does not. other than trying to remove the text-dec it doesnt also succeed in targeting the right element. ://

viggostarcke
Excursionist
26 1 3

This is an accepted solution.

did however find out myself

under the file 'component-card.css' i find the targeting
'.underline-links-hover:hover a'
and then add 'text-decoration-thickness: 0.01em;'