I want use just bootstrap grid, without base style for menu buttons, links color and other, It is posible?
Now, when i use bootsrap strater theme, i must rewrite styles for menu (it is for example) and it is wrong. I want to write styles from scratch, is this possible?
Hi, there's not a good way to limit Toolset Starter Theme's built-in Bootstrap styles. You can override them with your own styles, or you can supply your own compiled Bootstrap and turn off Toolset Starter Theme's included Bootstrap. To do that, go to Toolset > Settings > General and select "The theme or another plugin is already loading Bootstrap 3.0". Compile your own custom Bootstrap package here:
hidden link
Then enqueue the custom Bootstrap stylesheets and script elements by creating a custom plugin or by modifying your child theme's functions.php file.
Thanks for the answer. I walked: Toolset > Settings > General and "The theme or another plugin is already loading Bootstrap 3.0" has already been selected.
So I do not quite understand what I need to do? Do I need to deactivate the Toolset Starter Theme's or something else?
Okay next you will dequeue the parent theme Bootstrap stylesheet and JavaScript files in your child theme, then enqueue your own files. If you're using the Toolset Starter Child theme, you will find the wp_enqueue_scripts block at the top of the functions.php file. Dequeue the parent Bootstrap build by replacing everything above the "Load custom cells types for Layouts plugin..." comment with the following code:
<?php
if ( ! function_exists( 'ref_enqueue_main_stylesheet' ) ) {
function ref_enqueue_main_stylesheet() {
if ( ! is_admin() ) {
wp_enqueue_style( 'main', get_template_directory_uri() . '/style.css', array(), null );
wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array(), null );
wp_deregister_style( 'bootstrap_css' );
wp_deregister_script( 'wpbootstrap_bootstrap_js' );
wp_register_style( 'bootstrap_css', 'path/to/bootstrap.min.css' , array(), null );
wp_register_script( 'wpbootstrap_bootstrap_js', 'path/to/bootstrap.min.js', array( 'jquery' ), null, true );
wp_enqueue_style( 'bootstrap_css' );
wp_enqueue_script( 'wpbootstrap_bootstrap_js' );
}
}
add_action( 'wp_enqueue_scripts', 'ref_enqueue_main_stylesheet', 100 );
}
Then go to Appearance > Customize > Advanced Settings and uncheck "Load theme CSS".