I'm getting a dash sign on the affiliate outbound links to amazon...Kindly help

Well,

I’ve an amazon niche website and the outbound links to amazon are getting crossed.

Kindly help.

Link for your reference: https://quiet-castle.com/green-glue-noiseproofing-compound/

Links like check the current price on Amazon are getting crossed.

How can I get rid of it?

Hello Abhijat,

Thanks for writing in!

I checked the website and it’s because of a custom CSS that’s there on the website.

.broken_link, a.broken_link {
    text-decoration: line-through;
}

Please remove the code and that should fix the problem. You can also add following CSS under X > Theme Options > CSS:

.broken_link, a.broken_link {
    text-decoration: none !important;
}

1- I have found the proper CSS code selector using the Chrome browser Developer Toolbar: https://www.youtube.com/watch?v=wcFnnxfA70g

2- For the CSS code itself, I suggest that you get started with this tutorial: https://www.youtube.com/watch?v=yfoY53QXEnI

Thanks.

Hey Prasant,

I didn’t change the CSS COde, then how the cross line on the external link went by itself.

Could you help me with the detailed explanation?

Fervently, awaiting your reply.

Regards,

Hi Abhijat,

We only assume it’s a custom CSS since it’s not part of the theme. It could be added by plugins or by embed codes too and it’s hard to tell just by looking at the code.

<style type="text/css">.broken_link, a.broken_link {
	text-decoration: line-through;
}</style>

Though, based on its code position, it could be related to OneSignal plugin.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.