"Easy Bootstrap Shortcode" is overriding my child.css
-
Hi all.
Since I updated Easy Bootstrap Shortcode to version 4, my child-style.css is overrided by http://www.milesfrance.co.uk/wp-content/plugins/easy-bootstrap-shortcodes/styles/ebs_dynamic_css.php?ver=4.2.2. – which appears from the header of http://www.milesfrance.co.uk. What should I filter in functions.php, in order to set the child style AFTER the bootstrap plugin?This is what I have set in functions.php and worked before the update:
<?php // Make sure that parent theme style.css is loaded before Child Theme style.css add_action( 'wp_enqueue_scripts', 'dazzling_child_enqueue_styles', 10); function dazzling_child_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'dazzling-bootstrap', get_template_directory_uri() . '/inc/css/bootstrap.min.css' ); wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); } add_shortcode('wpbsearch', 'get_search_form'); ?>Many thanks.
The topic ‘"Easy Bootstrap Shortcode" is overriding my child.css’ is closed to new replies.