Child theme CSS not loading
-
Child theme CSS is not loaded.
function woodmart_child_enqueue_styles() {
wp_enqueue_style( ‘child-style’, get_stylesheet_directory_uri() . ‘/style.css’, array( ‘woodmart-style’ ), woodmart_get_theme_info( ‘Version’ ) );
}
add_action( ‘wp_enqueue_scripts’, ‘woodmart_child_enqueue_styles’, 10010 );
Hello,
Is there any chance that you could give me access to the dashboard area so I can have a look at the settings on your website, please?
Kind Regards
Hello Luke, here are the credentials:
I have added the CSS to the custom CSS tab of Woodmart as well for it to work but that is not optimal.
Hello,
I have applied that code: https://prnt.sc/tSyjx5qXiRo3 and as we can see here: https://prnt.sc/k1q251r2XyTM it is working.
Also, you can open the child’s CSS via the link and see that the code is applied as well: https://prnt.sc/_cNM0_iID9qZ
Kind Regards