How to remove underline from text and titles which contain a link

Solved

How to remove underline from text and titles which contain a link

darkcloud367
Excursionist
24 1 8

How can I remove the underline from text that is linked to another page?

I am using the Dawn theme and tried multiple online suggestions but they dont work.

In my picture you can see I am trying to get it removed on the ''(see more text)'' of the featured products page and on the title of the collection list which is linked to another page.

 

Thanks!

20233333-07-26_13-34-18.png

Accepted Solution (1)
Moeed
Shopify Partner
7073 1903 2332

This is an accepted solution.

Hey @darkcloud367 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag

<style>
a {
    text-decoration: unset !important;
}
</style>

Moeed_0-1690375920409.png

 

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

 

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 8 (8)

Moeed
Shopify Partner
7073 1903 2332

Hey @darkcloud367 
Kindly share your Store URL and Password

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


darkcloud367
Excursionist
24 1 8

Elite-pokemon (elite-pokemon-1203.myshopify.com)

 

Password: opendewebsite!

 

Thanks!

Moeed
Shopify Partner
7073 1903 2332

This is an accepted solution.

Hey @darkcloud367 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag

<style>
a {
    text-decoration: unset !important;
}
</style>

Moeed_0-1690375920409.png

 

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

 

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


darkcloud367
Excursionist
24 1 8

Thank you so much, it worked! 😀

Moeed
Shopify Partner
7073 1903 2332

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like and Accept Solution would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Made4uo-Ribe
Shopify Partner
10038 2387 3014

Thank you for the information. 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:
  4. And Save.
a.link.underlined-link {
    text-decoration: none;
}
h2#SectionHeading-template--19283437879632__8fab2660-a5c8-4963-a509-7fe04821275f a {
    text-decoration: none;
}

Result:

Ribe_Dagandara_0-1690376302771.png

I hope it help. 

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.
darkcloud367
Excursionist
24 1 8

Thank you! 😀

Made4uo-Ribe
Shopify Partner
10038 2387 3014

Hi @darkcloud367 ,

Would you mind to share the store Password with us. Thanks!

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.