Add underline for link button in cart page Dawn 15V

Topic summary

A user wants to add a red underline beneath a collection button on their Shopify Dawn 15 theme cart page.

Proposed Solution:

  • Access Online Store → Theme → Edit code
  • Open theme.liquid file
  • Insert custom CSS before the closing </body> tag

CSS Code Provided:

  • Targets .title-wrapper-with-link a elements
  • Applies text-decoration: underline with color #c06010
  • Scoped to mobile screens (max-width: 767px)

Status: Solution provided but not yet confirmed as accepted. The response includes CSS styling to achieve the requested underline effect specifically for mobile viewports.

Summarized with AI on November 7. AI used: claude-sonnet-4-5-20250929.

Hiii

I would like to add an red underline right under the collection button. Please help.

check the screenshot:

Hello @ctal37

You can add code by following these steps

  1. Go to Online Store → Theme → Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid

@media screen and (max-width: 767px) { .title-wrapper-with-link a{ text-decoration: underline !important; text-decoration-color: #c10606 !important; } }

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

1 Like