Hello. I am creating a custom site built upon the _s theme.
functions.phpfile 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
@importdeclarations 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?
- The topic ‘wp_enqueue_style ignores @imports?’ is closed to new replies.