Hello, it is possible for sure because I saw some users add it, if you see CSS issues, you can still reach me 🙂
Logically, you will have a problem with the navigation, use this code to solve it: https://docs.oceanwp.org/article/506-menu-is-gone-when-using-bootstrap
Yes I am trying it out now. One simple work around would be to simply customize the boostrap that you need…
I am trying to load the .css via the child theme functions.php but am having limited joy…
Can you see where I might be going wrong?
Thanks v much BTW
function weather_scripts() {
if ( is_page_template(‘page-alert-amber.php’)):
wp_enqueue_style(‘bootstrap css’, get_template_directory_uri() . ‘/bootstrap/css/test.css’, array(), ‘0.1’);
wp_enqueue_script(‘bootstrap js’, get_template_directory_uri() . ‘/bootstrap/js/test.js’, array(), ‘0.2’);
endif;
}
add_action(‘wp_enqueue_scripts’, ‘weather_scripts’);
Hello, replace “get_template_directory_uri” by “get_stylesheet_directory_uri”, the first function is for a parent theme, the second for child theme and as you are in a child theme, you need to use the second function.