Target a css class inside another css class

后端 未结 2 424
面向向阳花
面向向阳花 2021-02-01 11:26

Hi I am having problems with some css classes in joomla. I have two divs in a module, one is the wrapper class=\"wrapper\", the other is the content class=\"content\" . Content

2条回答
  •  别那么骄傲
    2021-02-01 12:06

    Not certain what the HTML looks like (that would help with answers). If it's

    stuff

    then simply remove the space in your css. A la...

    .testimonials.content { css here }

    UPDATE:

    Okay, after seeing HTML see if this works...

    .testimonials .wrapper .content { css here }
    

    or just

    .testimonials .wrapper { css here }
    

    or

    .desc-container .wrapper { css here }
    

    all 3 should work.

提交回复
热议问题