How can I add an underline to cart text?

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:

The site is www.plantedjournal.shop

Any help would be greatly appreciated!

1 Like

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;
}

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

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

We can but we will redo all over the codes.

@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.