• zafon123

    (@zafon123)


    Hi!
    I need help with
    <div class="navbar-collapse justify-content-end collapse show" style="">
    I would like that when menu have class show it body add class overflow:hidden

    I try with :

    $(document).ready(function(){
      $("button.navbar-toggler").click(function(){
            $("page-template").css({"overflow":"hidden"});
        });
    });

    Thank for help.

Viewing 1 replies (of 1 total)
  • Thread Starter zafon123

    (@zafon123)

    Hi!
    This is what the code looks like

    
    jQuery(document).ready(function( $ ){
    $(".navbar-toggler").click(function() {
    $('body').toggleClass('modal-open');
    });
    });
    

    Best Regards

Viewing 1 replies (of 1 total)
  • The topic ‘collapse show – body take overflow:hidden’ is closed to new replies.