WPCodeBin
Beta

Divi Flashing Unstyled Content On Page Load

PHP Code Snippet

This code hides Divi website content before the Divi css is loaded, preventing flashes of unstyled content (FOUC). Here is a blog post from Mark Hendriksen about the solution.