[ad_1]
Here is my code:
home.php
<div class="test-class">
test text
</div>functions.php
<?php
function blabla() {
wp_enqueue_style( 'homepage', './homepage.css' );
}
add_action( 'wp_enqueue_scripts', 'blabla' );
?>homepage.css
#test-class {
color: red;
}All the files are in the root folder of the theme.
I don’t understand why the css is not enqueued. (The text in the div has no red color).
