• Hello,

    I know you can hide the vertical scroll with overflow: hidden !important;

    But where in your CSS code do I need to add this?

    Thank you in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author lightgalleryteam

    (@lightgalleryteam)

    Yes, the scrollbar is retained purposefully to remove the flickering effect while opening the gallery. But we’ll add an option to add custom CSS in the next version.

    But, for now, you can add the custom CSS to your theme itself.

    Thread Starter MEMT-NETWORK

    (@memt-network)

    Yes, but what css value do I need to enter in my theme? not sure what css classes you are using. Thank you in advance.

    Plugin Author lightgalleryteam

    (@lightgalleryteam)

    lightGallery adds .lg-on class name to the document when the gallery is opened. You can make use of it
    Please add the following CSS rule. It should work fine

    .lg-on {
        overflow: hidden;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide / Disable Vertical scroll in lightbox mode’ is closed to new replies.