Elementor global css and page/post specific css not deferred
-
Hey Frank (and team!).
Strange one for you.
1.) Vanilla WP install with just Elementor and AO activated.
2.) Default AO settings with the following CSS settings:
3.) Default Elementor settings.
4.) Create a page and add some basic Elementor elements.On the frontend, the global and post specific Elementor CSS is not deferred but rather is outputted in a render blocking manner:
<link rel='stylesheet' id='elementor-global-css' href='https://elemclean.local/wp-content/cache/autoptimize/css/autoptimize_single_8831acda318b14a90d5eeceb6f27456d.css' type='text/css' media='all' /> <link rel='stylesheet' id='elementor-post-5-css' href='https://elemclean.local/wp-content/cache/autoptimize/css/autoptimize_single_5d0e9e1ce524a5b9cc57e2df1b13024e.css' type='text/css' media='all' />
The main css is correctly deferred:
<link rel="preload" as="style" media="all" href="https://elemclean.local/wp-content/cache/autoptimize/css/autoptimize_fd1a845cb8f740cf848c428b3fbc6d72.css" onload="this.onload=null;this.rel='stylesheet'" /><noscript id="aonoscrcss"><link type="text/css" media="all" href="https://elemclean.local/wp-content/cache/autoptimize/css/autoptimize_fd1a845cb8f740cf848c428b3fbc6d72.css" rel="stylesheet" /></noscript><title>Elementor #5 – elemclean</title>
So I’m guessing there’s something weird about how Elementors css is enqueued that’s preventing AO from doing it’s thing?
- The topic ‘Elementor global css and page/post specific css not deferred’ is closed to new replies.