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

Solved

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

DoE1
Tourist
8 0 2

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?

shopsade.com

passcode Sade123!

 

Screenshot 2024-10-31 002556.png

Accepted Solutions (2)

Made4uo-Ribe
Shopify Partner
10201 2421 3065

This is an accepted solution.

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

 

  • And Save.
  • Result:
    Made4uoRibe_0-1730327498854.png

     

 

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

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.

View solution in original post

tim
Shopify Partner
4492 532 1637

This is an accepted solution.

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

 

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com

View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
10201 2421 3065

This is an accepted solution.

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

 

  • And Save.
  • Result:
    Made4uoRibe_0-1730327498854.png

     

 

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

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.

tim
Shopify Partner
4492 532 1637

This is an accepted solution.

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

 

If my post is helpful, hit the thumb up button -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com