Site logo

Archived topic

Buttons as no follow?

6 replies · Started by kiant123 on May 6, 2019

Viewing posts 1–7 of 7

Hi,

I've created my own button (in addition to the default one) which i use to put affiliate links in however after changing them all on my site i realise that it would be best to add the links as 'no follow'. Is there something i can put in to the additional css to make the button link automatically 'no follow'?

The current code i have is

.button.see-prices,
.button.see-prices:visited {
	background: #53b848;
	color:#FFF;
}

.button.see-prices:hover,
.button.see-prices:active {
	background: #22cd77;
	color:#FFF;
}

Is this possible?

Thanks

And a follow up request is to get the link to open in a new window?

Thanks

Hi there,

those see prices buttons, on the link you provided, are already nofollow and open in a new tab? Let me know

Oh sorry, that was not a good example as once the link was created I went and added it by editing each link manually on that page and putting it in.

This page has just the button put in as it is.

Unfortunately you will need to manually edit each of the buttons as there is no simple way of searching and updating each of those buttons. Its not something CSS can do.

Ok, no problem. Thanks for letting me know!

you're welcome

This archived topic is closed to new replies.