Avada Logo

I have an add_style() PHP error from child theme in 7.9

Posted on January 30, 2024

If you receive an error from your child theme related to an undefined method, please check your custom template and replace:

<?php Avada()->layout->add_style( 'content_style' ); ?>

With the new code of:

style="<?php esc_attr_e( apply_filters( 'awb_content_tag_style', '' ) ); ?>"

Need Help With Avada?

Go to Top