How to remove underline from collection title which i inserted a link to

i inserted a link to my title for brands collection, so when clicked will take you to the brands page. unfortunately now it’s underlined. any way to remove this underline?

passcode Sade123!

Hi @DoE1

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. 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:
.collection-list-title span {
    text-decoration: none !important;
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

As usual, my suggestion is to not edit the code, but use the “Custom CSS” setting of that section (at least, try it first).

You will appreciate it when it’s time to update your theme version.

You can use the same code already suggested, or try this one – it will hide underline, but reveal it when you hover your mouse over this link so that visitors better see it as a clickable link:

.title-wrapper-with-link:not(:hover) span {
  text-decoration: none !important;
}