Viewing 8 replies - 1 through 8 (of 8 total)
  • Can you share a link to your website?

    Thread Starter mp42871

    (@mp42871)

    Thanks,
    so, in your child-theme functions.php put this:

    // don't load visual slide box plugin bootstrap js
    add_action('wp_print_scripts', 'remove_bootstrap_js');
    function remove_bootstrap_js(){
      wp_dequeue_script('bootstrap_js');
    }

    The problem is that both customizr and that plugin use the same bootstrap js , but customizr makes some things on the menu (when dropdown on click selected) to make it work better in mobiles ..
    Also customizr embeds that js so you don’t need the plugin’s one,
    With the code above we prevent the plugin’s one loading.

    Hope this helps.

    Thread Starter mp42871

    (@mp42871)

    That worked! Thanks so much d4z_c0nf!

    Thread Starter mp42871

    (@mp42871)

    Resolved

    Glad it worked!
    You’re welcome ??

    Thread Starter mp42871

    (@mp42871)

    I had to nest it inside of a conditional if statement to get the admin piece to work correctly

    // don't load visual slide box plugin bootstrap js
        function remove_bootstrap_js(){
               wp_dequeue_script('bootstrap_js');
        }
        if ( ! is_admin() ) {
              add_action('wp_print_scripts', 'remove_bootstrap_js');
        }

    Hi,
    thanks for sharing the solution ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Menu stops working with Visual Slide Box Builder plugin’ is closed to new replies.