Parent theme has following code for including styles.
function blue_planet_scripts() {
wp_enqueue_style( 'blue-planet-style', get_stylesheet_uri() );
wp_enqueue_style( 'blue-planet-style-bootstrap', get_template_directory_uri().'/css/bootstrap.min.css', false ,'3.0.0' );
wp_enqueue_style( 'blue-planet-style-responsive', get_template_directory_uri().'/css/responsive.css', false ,'' );
}
add_action( 'wp_enqueue_scripts', 'blue_planet_scripts' );
In child theme I just imported parent theme's styles using
@import url("../blue-planet/style.css");
But order of stylesheets are:
- style.css (child theme)
- bootstrap.min.css
- responsive.css
What modification is needed in parent function to include child theme's style.css in last in the order? I need:
- bootstrap.min.css
- responsive.css
- style.css (child theme)