EXTRA CSS CLASS NOT WORKING
-
I have assigned an extra css class called “tout” for which I’ve assigned a css code but it’s not working
Hello,
Classes work correctly http://prntscr.com/mbxqzz
Your code is not correct. Here is the correct code:
.mega-menu-list .sub-sub-menu .tout a,
.menu-mega-dropdown .sub-sub-menu .tout a span {
color:red;
}
Add the code to the Theme Settings > Custom CSS. Replace color: red for font-style after checking.
Best Regards
But I saw on the website of WPBakery that in order to make a call in the CSS to the Extra Class, it should be done just with :
.”extra-class-name” {
“code-here”
}
isn’t that correct?
Hello,
You need to rewrite existing style rules that is why your way would not work. You will find more information here https://www.w3schools.com/css/
Best Regards