Hi,
Can you give me the URL of a sample page so I can take a look into it? 🙂
Regards,
Hardeep
Thread Starter
Chekki
(@chekki)
Hi,
sorry for late reply. I thought I will get notified after a new reply. Here is a sample page:
http://mein-vibrator.de/vibrator-tests/lelo-smart-wand-medium/
Best regards,
Chekki
Hi,
Add the following CSS to your site, using Simple Custom CSS plugin, to change the color of the second button:
.affiliate-button2 a {
background: none repeat scroll 0% 0% #D32E5A;
border: 2px solid #D32E5A;
}
Replace #D32E5A with your custom value. 🙂
Regards,
Hardeep
Thread Starter
Chekki
(@chekki)
Hi,
thanks for your reply. It doesnt work. I had put the following code at the and of my style.css but nothing happened:
.affiliate-button2 a {
background: none repeat scroll 0% 0% #08d0ac;
border: 2px solid #08d0ac;
}
Also I emptied page cache and tried it in another browser.
Any idea?
Best regards,
Chekki
Plugin Contributor
MariusG
(@marius_codeinwp)
Hello Chekki,
It will work if you add !important at the end of each line, exactly before the “;”.
I haven’t tested it yet, but I believe that it will change it for both buttons, I don’t think they’re using sepparate classes.
We’ll have to fix this in the next update, both buttons should be customizable.
Regards,
Marius
Thread Starter
Chekki
(@chekki)
Hi,
thanks but it doesnt work, not even for both buttons:
.affiliate-button 2 a {
background: none repeat scroll 0% 0% #08d0ac !important;
border: 2px solid #08d0ac !important;
}
Hope update will give us a possibility for changing each button.
Best regards
Chekki
Plugin Contributor
MariusG
(@marius_codeinwp)
That’s because you added a space, it should be
.affiliate-button 2 a {
Anyway, as I said before I don’t think that would help for what you need.
You could edit the plugin’s files and add custom css for the second button though if you really need it.
Regards,
Marius
Plugin Contributor
MariusG
(@marius_codeinwp)
I meant: .affiliate-button2 a {
My bad 🙂