As per the title, we’re having issues getting the child theme css to override the default theme css, probably something simple we’ve got wrong but would appreciate some assistance.
In functions.php (in child theme) we have:
<?php add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ );
function theme_enqueue_styles() {
wp_enqueue_style( ‘child-style’, get_stylesheet_uri(), array( ‘bootstrap’, ‘parent-style’ ) );
}
and in child style.css we have removed the @import of the default css.
Anything else we have missed? I’ve added login details below if you need them.
Thank you in advance.