Home Forums WoodMart support forum Login popup

Login popup

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #32594

    leonidas
    Participant

    Take a look at the video below.Is it possible to prevent the mobile menu from automatic opening after we hit the close button in the login popup?
    Regards

    #32604

    Artem Temos
    Keymaster

    Hello,

    Try to add the following code snippet to the Custom JS area in Theme Settings to do this

    jQuery('body').on('click', '.close-login-form', function() {
        jQuery('body').removeClass('login-form-popup');
        jQuery('body').removeClass('act-mobile-menu');
        jQuery('.mobile-nav .searchform input[type=text]').blur();
    });

    Regards

    #32609

    Artem Temos
    Keymaster

    You need to add it to the on document ready section.

    #32806

    leonidas
    Participant

    The code worked well.Only one problem:when the popup disappears it reveals from below a dark layer.Can we make it disappear simultaneously?
    Regards

    #32837

    leonidas
    Participant

    Problem solved.Close the ticket please

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Login popup’ is closed to new replies.