When using autoptimize with Divi sometimes there are issues with the animations. As with anything custom code it is necessary to add some code to the functions.php file. Add the following code right at the bottom before the closing ?> tag or generally after the parent cations are completed.

Making Divi Animations Work when using Autoptimize

function sw_override_defer($defer) {
 return " ";

Let’s connect

Get in Touch with me easily using the methods below

©Copyright  George Nicoalou 2022 |  Disclaimer  |  Site Map

Pin It on Pinterest

Share This
Divi Theme Code SnippetsAutoptimize and Divi issues