Home Forums Basel support forum CSS to format URLs but exclude some classes? Reply To: CSS to format URLs but exclude some classes?

#193832

oleg_dmitriev
Participant

Elise,

Thank you for helping me. I do not want my style changes to apply to the followng classes:
https://ibb.co/P5Ptmym (the URL is https://www.independent.wine)

It is not showing well, it has double underscore. How can modify my CSS not to apply to this style?

Other than that, my CSS seem to be working OK.

/*Change default dressing of links*/
a:not(.tabs wc-tabs) {
color: #C41E3A;
text-decoration: underline;
}
a:hover {
color: red;
}
.wpb_wrapper a {
color: #C41E3A;
text-decoration: underline;
}
.wpb_wrapper a:hover {
color: red;
}
.woocommerce-product-attributes-item__value a {
color: #C41E3A;
text-decoration: underline;
}
.woocommerce-product-attributes-item__value a:hover {
color: red;
}