Home Forums WoodMart support forum Body scroll

Body scroll

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #27926

    leonidas
    Participant

    Hello,
    look at the video and tell me if it is possible using CSS to prevent body scrolling when the mobile menu and the filter panel opens.I managed that with the widget sidebar using the code:

    /* Prevent body scroll */
    .panel-active {
    overflow: hidden;
    }
    Thank you

    #27950

    Artem Temos
    Keymaster

    Hi,

    Try to use the following code snippet to achieve this

    .act-mobile-menu {
    	overflow: hidden;
    }

    Regards

    #27989

    leonidas
    Participant

    The code seems to work fine on desktop devices.Under 1024 look at the video.I want to prevent body scrolling when you touch the dark layer like the right sidebar.
    Regards,
    Leonidas

    #27990

    leonidas
    Participant

    Do the same with the cart and the filter sidebar

    #28002

    Artem Temos
    Keymaster

    Sorry, but we can’t prevent this scrolling on tablet devices.

    #28020

    leonidas
    Participant

    Ok at least do the same with the cart and the filter sidebar for desktop like you did with the mobile menu.
    Thanks

    #28049

    Artem Temos
    Keymaster

    Here is a code for this

    .woodmart-cart-opened,
    .woodmart-show-hidden-sidebar {
    	overflow: hidden;
    }
    #28054

    leonidas
    Participant

    close the ticket please

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

The topic ‘Body scroll’ is closed to new replies.