Change position of CSS link when loading CSS asynchronously
-
In our theme we inline the critical CSS and ask users to use autoptimze plugin to load the other CSS asynchronously. (We usually leave the “Paste the above fold css here” blank.)
Problem is our inline CSS is coming after the deferred styles. Any way to change the order?
<link rel="preload" as="style" media="all" href="#" onload="this.onload=null;this.rel='stylesheet'" /><noscript id="aonoscrcss"><link type="text/css" media="all" href="#" rel="stylesheet" /></noscript>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Change position of CSS link when loading CSS asynchronously’ is closed to new replies.