Hello i’m trying to add class to a v2 button.
the css :

and the class i put to the class field :

the background is red, it’s ok but the font stay white, why ?
Hello i’m trying to add class to a v2 button.
the css :

and the class i put to the class field :

the background is red, it’s ok but the font stay white, why ?
Hi @Lyser,
Thanks for writing in!
To resolve your issue, please update your custom css and use this instead.
.colorfont .x-anchor-text-primary,
.colorfont .x-graphic-icon {
color:#ff00ff !important;
}
.colorbgbutton {
background-color:#ff0000 !important;
}
We would loved to know if this has work for you. Thank you.
That’s perfect, thx you !
Is it possible to have a class with a url link in it for a button ?
i tried
.linkcategory2 { url('http://monsite.exemple.com'); }
but it’s not working
Hi There,
That’s not possible with the custom CSS.
Please try with the custom Javascript instead, add this code under Theme Options > JS:
jQuery(document).ready(function($) {
$("a.linkcategory2").attr('href', 'http://monsite.exemple.com');
});
Hope it helps 
Perfect again, thx you very much to all of you themeco guys, you’re doing a great job.
Glad we could help.
Cheers!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.