Tagged: ,

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

    Hi, when I zoom a gallery image with the lightbox function the page scrollbar is still shown, which looks bad. Does the lightbox script have a callback function where I can set the html tag to overflow: hidden or something like that? If so, can it be done in my child theme?

    Any ideas?

    #717685

    Hey convecto,

    unfortunately this is a default browser function and can’t be easily swtiched off as far as I know.

    Best regards,
    Andy

    #717695

    Sorry, but this is not true. Maybe the script doesn’t cover this but I need to know where this script is located so that I can fix it by myself.

    cheers, Julian

    #717702

    Hi!

    Andy is correct on that.
    To modify all the rest, you would need to play around with the Jquery effect and not just CSS.

    Let us know if we can help with something else regarding our theme.

    Cheers!
    Basilis

    #717837

    Hi Basilis,

    I know that but where can I find the lightbox script and is it possible to overwrite it in my child theme? That was my initial question.

    Thanks again.

    cheers, Julian

    #718249

    Hi,

    you could customize lightbox settings by changing js->avia.js file. However, we can’t help you with this kind of customization. Hope you can achieve what you need.
    You could also deactivate Enfold’s lightbox in the theme settings and use another lightbox with the functions you wish.

    Best regards,
    Andy

    #718437

    OK, I checked and actually it’s just setting avia.js line 940 from false to true:

    fixedContentPos: true, // allows scrolling when lightbox is open but also removes any jumping because of scrollbar removal

    That’s it!

    Sorry, but this was no good support for such a simple task.

    cheers, Julian

    #718744

    Hi,

    glad you could find a solution for it by yourself. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.

    Best regards,
    Andy

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Scrollbar at gallery lightbox’ is closed to new replies.