Home › Forums › Legacy Support › Support queries › Child Themes › Child theme style.css file not working This topic has 3 replies, 2 voices, and was last updated 3 years ago by Veronica. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts March 9, 2022 at 11:50 pm #381554 gbacParticipant 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 March 10, 2022 at 2:55 pm #381612 VeronicaModerator 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? March 10, 2022 at 11:50 pm #381650 gbacParticipant Perfect! The code was missing in my functions.php Thank you very much March 11, 2022 at 8:47 am #381667 VeronicaModerator good to know this is working for you Author Posts Viewing 4 posts - 1 through 4 (of 4 total) The topic ‘Child theme style.css file not working’ is closed to new replies.