Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘Child theme style.css file not working’ is closed to new replies.
Hello,
The child theme’s style.css file doesn’t work in my case, I’m using the custom css section of the admin customizer, but I prefer to use the child theme’s css.
Any clue why it doesn’t work?
Thanks
hi
we are using this code:
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles', 11 );
function my_theme_enqueue_styles() {
wp_enqueue_style( 'child-style', get_stylesheet_uri() );
}
to enqueue the style sheet
it should work
may be you have missed something while installing the child theme?
Perfect!
The code was missing in my functions.php
Thank you very much
The topic ‘Child theme style.css file not working’ is closed to new replies.