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
6 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
8878 2122 2609

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

tim
Shopify Partner
3892 384 1420

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, consider liking it -- 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
8878 2122 2609

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

tim
Shopify Partner
3892 384 1420

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, consider liking it -- it will help others with similar problem to find a solution.
I can be reached via e-mail tairli@yahoo.com