Plugin conflict with a FOUC fix snippet in DIVI
-
Hello
I’m using divi to build a ecommerce site. Divi sometimes suffers of FOUC (Flash of unstyled content), but I found a snippet that solved that problem at least for me.
The snippet is this one:
<script type="text/javascript"> var elm=document.getElementsByTagName("html")[0]; elm.style.display="none"; document.addEventListener("DOMContentLoaded",function(event) {elm.style.display="block"; }); </script>
For some reason it brakes the plugin. The carousel does not work when that snippet is on.
I would like to know if theres is something I can do to fix or why does that happen.
Thanks.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Plugin conflict with a FOUC fix snippet in DIVI’ is closed to new replies.