Hi, is the Bootstrap framework included with Vantage Premium?
I have added Bootstrap myself, but am having troubles with my child them style.css being recognized.
I can only use Custom CSS in the admin dashboard to edit styles.
This is what my functions.php file looks like:
<?php function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'child-style', get_stylesheet_uri(), array( 'parent-style' ) ); wp_register_style( 'bootstrap-css', get_template_directory_uri() . '/js/bootstrap.min.js', array('jquery'), NULL, true ); wp_enqueue_style( 'bootstrap-css' ); wp_register_script( 'bootstrap-js', get_template_directory_uri() . '/bootstrap/css/bootstrap.min.css', false, NULL, 'all' ); wp_enqueue_script( 'bootstrap-js' ); } add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); remove_filter('the_content', 'wpautop'); remove_filter('the_content', 'wpautop');
Hi Tyler
Thanks for reaching out.
Vantage doesn’t use Bootstrap.
Looks like you’re going wrong enqueueing the child theme stylesheet. This can of course be in the same function, here is a copy of my vanilla child theme’s function file.
Hope that helps.