Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • #1270135

    Hi there. Hope you guys are fine!

    When using burger menu, on mobile, if you open the menu, touch the screen and swipe your finger up, 3 things happen:

    1) The X for closing the menu goes up and disappears off the screen.
    2) The page you’re on still scrolls on the background.
    3) The bottom of the menu (at the bottom of the screen) goes up, exposing the page content behind it. (When you remove your finger off the screen after swiping up, the menu becomes full height again). This 3rd behaviour only happens when you first swipe up your finger. If you swipe up, remove your finger and swipe up again it doesn’t happen.

    How can I get these 3 things fixed?


    Thank you.
    Cheers from Brazil :D



    Thanks! Hope you are fine too!

    Could you please try adding following code to bottom of Quick CSS in Enfold theme options > General Styling

    .responsive.av-burger-overlay-active {
        overflow-y: hidden;

    Please make sure to go to Enfold theme options > Performance settings and disable CSS merging option, save theme options and then enable it once again :)

    Best regards,


    Hey, Yigit. Thank you for the reply.

    It worked fine for issues 1 and 2, but not for 3.
    Any other solution?

    Thank you!



    Glad to know that the initial fix is working. Could you provide a screenshot of the 3rd issue? Are you saying that the mobile menu container moves up when you swipe the screen up exposing the content in the bottom part? If that is the case, then this script might help.

    // prevent mobile menu swipe
    function ava_script_mobile_menu_swipe() {
        if ( wp_script_is( 'avia-default', 'registered' ) ) {
            wp_add_inline_script( 'avia-default', '
    			(function($) {
    				$('#av-burger-menu-ul').bind('touchstart touchend touchup', function(event) {
     add_action( 'wp_enqueue_scripts', 'ava_script_mobile_menu_swipe', 9999);

    Best regards,


    Hi, Ismael, thank you for the reply. Yes, I think we are talking abou the same issue!

    Just to be sure, I’m sending a link with an image of what exactly happens on mobile menu when you open the menu and swipe up once (issue number 3 described above)

    I tried to use the code you provided above, but when I insert it on child functions php (via file manager), a red X shows up on this line:


    saying: Syntax error, unexpected T_STRING, expecting ‘)’

    and after saving, the website went on fatal error. So I removed the code and saved again.

    I’m not a coder, I have no idea on how to get it fixed.

    Can you give a hand on solving this menu behavior?

    Thank you.
    Cheers from Brazil

    • This reply was modified 1 month, 3 weeks ago by  otavioef.


    saying: Syntax error, unexpected T_STRING, expecting ‘)’

    Sorry about that. There is a minor syntax error in the snippet, but we corrected it just now. Please try to add the snippet again in the functions.php file.

    Is the navigation still working when this issue happens? Looks like it is not really that obtrusive or noticeable, and will probably not happen unless you intentionally try to reproduce it.

    Best regards,


    Hi, Ismael. Thank you for the reply.

    I tried the code again, but still get the same error.

    I even tried to check the code on , it notices the issue but I’m not able to solve it.

    Can you check it again, please?

    Thank you!



    No problem. Please post the login details in the private field so that we could test the script, and make sure that the Appearance > Editor panel is accessible so that we could edit the files properly.

    Best regards,


    Hi, Ismael, how are you?

    Credentials are on the private content area.

    Thank you for the Help



    Thank you for the info.

    We edited the code a bit and it is now executing. Let us know if it actually prevents swiping of the mobile menu container. And as we have said above, the issue is not really easy to reproduce unless you are aware of it, or intentionally trigger it.

    Best regards,

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

You must be logged in to reply to this topic.