wp_enqueue_style – dependency
-
I am experimenting with loading stylesheets.
test.css :
.test { background-color: aqua ; }
functions.php:
// Test.css wp_enqueue_style( 'test', get_stylesheet_uri(), array('style') ); // Theme stylesheet. wp_enqueue_style( 'style', get_stylesheet_uri() );
Why can’t I see the aqua background?
I try to do it according to the Handbook.
Ultimately I want to load a stylesheet before style.css.Thanks for any help!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wp_enqueue_style – dependency’ is closed to new replies.