I have been using:
add_theme_support(‘avia_template_builder_custom_css’);
to enable custom classes. Any previous text sections or buttons or anything using a custom class works fine. However, if I create a new Text Block or Button and assign a Custom Class to it Quick CSS will not affect that class.
Hi D5WDesignGroup!
Thank you for visiting the support forum.
Make sure that you’re running Enfold 2.9.2. Do you have a child theme? Please post the website url here. We would like to inspect it.
Cheers!
Ismael
Hi,
Can you please create us an administrator account? post it here as a private reply.
Regards,
Josue
Hey!
I made a test page (Test) and it seems to work just fine, put a Text Block with class of “cas”.
Best regards,
Josue
I don’t see that it is working. I have been able to enter a custom class name in the text block but when I put the CSS in the Quick CSS area it does nothing.
Hi!
The class is getting applied, the problem may be with the code, can you paste the code you are trying to use?
Cheers!
Josue
Hey!
The code is wrong, you need to target the p element inside the text block:
.cas p{
font-size: 72pt!important;
line-height: 25pt!important;
}
Best regards,
Josue
Is that a new change? All of my other previous custom classes are set up the same way, without the p element, and they work fine.
Hi!
As far as i know no, if you want to change the text in a Text Block you should always target the paragraph element.
Regards,
Josue
Thank You for the info.