Remove hyperlink underline on images

Solved
Highlighted
New Member
5 0 0

Hello,

 

I would like to remove the hyperlink underline from the images.  I have tried the suggestions to edit the CSS in the theme page files, the SCSS in the assets files and the HTML in the page but I haven't had any success.  Any suggestions are appreciated!

 

https://timmillermusic.com/pages/merch

0 Likes
Highlighted
Trailblazer
175 26 28

Add below line of code in your theme.scss

.rte a:not(.btn) {
    border-bottom: none;
    padding-bottom: 0;
}
Still not satisfied!!! contact me
Is it good solution? Yes, please Like.
0 Likes
Highlighted

Success.

Hello @tm31,

1. Go to Online Store->Theme->Edit code
2. Asset->theme.scss.liquid->paste bellow code in bottom of file

#MainContent .rte a:not(.btn) {
	border-bottom: none;
}
Want to modify or incorporate custom changes on store, Hire us.
If helpful then please Like and Accept Solution .
Email: pallavi@oscprofessionals.com
Skype : oscprofessionals-87
Free Review and advice for sale on store | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | SEO & Digital Marketing | Site Speed Optimization | Performance Site Audit
0 Likes
Highlighted
New Member
5 0 0
Thank you! It worked flawlessly. I appreciate it!
0 Likes
Highlighted
New Member
5 0 0

Thank you!  This worked perfectly!  I appreciate it!

0 Likes
Highlighted
New Member
5 0 0
Thank you!
0 Likes