Home Forums WoodMart support forum EXTRA CSS CLASS NOT WORKING

EXTRA CSS CLASS NOT WORKING

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #103950

    Jeriss Cloud Center
    Participant

    I have assigned an extra css class called “tout” for which I’ve assigned a css code but it’s not working

    #104009

    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

    #104249

    Jeriss Cloud Center
    Participant

    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?

    #104268

    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

Viewing 4 posts - 1 through 4 (of 4 total)