wp_enqueue_style ignores @imports?
-
Hello. I am creating a custom site built upon the _s theme.
The
functions.php
file seems to have a pretty straightforward call for registering the default stylesheet:wp_enqueue_style( 'style', get_stylesheet_uri() );
My problem with this is that it seems all
@import
declarations within my stylesheet (which has been enqueued above) are ignored. That includes important things like web font imports and other stylesheet imports such as reset. Does anyone else have this problem, and/or a fix?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘wp_enqueue_style ignores @imports?’ is closed to new replies.