Removing Underline from Blog Post Hyperlinks

Removing Underline from Blog Post Hyperlinks

NanoSG
Tourist
5 0 2

Hi Shopify Support,

 

We're looking to remove the underline from hyperlinks in our blog posts. Could you please guide us on how to adjust the CSS for this?

 

Thank you for your help!

Replies 2 (2)

BSSCommerce-HDL
Shopify Partner
2305 834 907

Hi @NanoSG

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
.t4s-rte a:not(.btn):not(.t4s-link):not(.t4s-btn):not(.t4s-button):not(.t4s-a) {
    border-bottom: 0 !important;
}
</style>

Here is result: 

BSSCommerceHDL_0-1723523680641.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

GTLOfficial
Shopify Partner
769 160 169

Hello @NanoSG 
Go to online store ----> themes ----> actions ----> edit code ---->base.css
add this code at the end of the file.

h5.t4s-widget-title::after {
border-bottom: 0px !important;
}

result
2.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh