Re: Add underline to text in cart

How can I add an underline to cart text?

antoinelacour
Excursionist
43 0 8

Screenshot 2023-12-04 at 22.30.16.png

 

Hello!

 

See above, I would like to add an underline to this 'Continue shopping' text, slightly offset below the text so the line isn't cut off.

 

Reference below:

Screenshot 2023-12-04 at 22.29.53.png

 

The site is www.plantedjournal.shop

 

Any help would be greatly appreciated!

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
9873 2352 2949

Hi @antoinelacour 

Check this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.title-wrapper-with-link a {
    text-decoration: underline !important;
    text-underline-offset: 0.4rem !important;
}

 

  • And save. 
  • Result:
  • Made4uoRibe_0-1701727271759.png

     

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
antoinelacour
Excursionist
43 0 8

Thank you @Made4uo-Ribe is it possible to reduce the thickness of this line? 

Made4uo-Ribe
Shopify Partner
9873 2352 2949

We can but we will redo all over the codes. 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
antoinelacour
Excursionist
43 0 8

@Made4uo-Ribe does that mean all other underlines will be the same thickness? If so that's perfect. I would like all text underlines to be the same, to match the thickness of the button outlines storewide. I think it's almost half the thickness of this line.