Quantcast
Channel: WordPress.org Forums » [Autoptimize] Support
Viewing all articles
Browse latest Browse all 14038

Roy Tanck on "[Plugin: Autoptimize] Problem with @import in child theme"

$
0
0

Yes, I set this to resolved. Mostly because @import is no longer the recommended solution for loading parent styles, and a small change to the themes circumvented the whole issue.

In short, I removed the @imports from the child theme's style.css, and properly enqueued the parent style from functions.php. This is also what the codex recommends.


Viewing all articles
Browse latest Browse all 14038

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>