An Alternative to @import in WordPress Child Themes

I happened to find this by accident as I was creating a child theme to be able to help someone at the WordPress.org forums.

Basically, instead of doing this on the style.css of the child theme:

Add the following on the functions.php of the child theme:

This alternative makes sense and it does work!

Leave a Reply