Bootstrap conflict/script loading
-
Hi,
Thanks for your plugin.
The Bootstrap styles are conflicting with the rest of my site, so I would like to eliminate the styles/scripts from the head on pages that are not using the parallax…
I found this article:
https://wordpress.stackexchange.com/questions/695/restricting-a-plugin-to-only-load-its-css-and-js-on-selected-pagesSo… I tried this:
function remove_parallax_extras(){
remove_action(‘wp_print_styles’, ‘gravity_bootstrap_light’);
}
if (! is_page(‘brochure’)) {
add_action(‘wp_head’,’remove_parallax_extras’);
}To try to eliminate bootstrap.min.css – but am having no luck. Suggestions?
Thanks very much in advance.
https://www.ads-software.com/plugins/parallax-gravity-landing-page-builder/
- The topic ‘Bootstrap conflict/script loading’ is closed to new replies.