Hello,
I am trying to add a custom class after modifying functions.php, but class doesn’t appear in the element!
Hi saharanet_dev!
Thank you for using Enfold
Can you let us know what code you used?
Thank you
Cheers!
Basilis
Thanks for your reply.
I just added this line: add_theme_support(‘avia_template_builder_custom_css’);
custom css class field appeared in all elements, till now it’s OK.
When I give any element a css class, and check it in HTML, I cannot get this class given!
Hey!
If you clear your cache, does the HTML rendering gets updated?
Have you checked that?
Cheers!
Basilis
Custom CSS class for ALB elements is broken for me with the latest version. I did the functions.php hack, just like I have on many previous sites, and yet the class id field is not appearing in text blocks and other elements.
Hi,
Please elaborate what error message you get? Make sure the code in the functions.php is added in the right place as mentioned in the docs: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
If you still have any issue please try using a child theme and add the code in the child themes functions.php file. That should work without any issue for you :)
If the issue persist after installing child theme please feel free to create a new ticket and provide us the login details so we can take a look at it.
Best regards,
Vinay