• Resolved slipperyman

    (@slipperyman)


    How do you disable lightbox? Because my theme implements it, and when you see the room gallery , and click to enlarge, it opens twice…. but if I disable it in my theme, just to prevent it on vikbooking pages, it just solves vik, but breaks everywhere else…

Viewing 1 replies (of 1 total)
  • Plugin Author e4jvikwp

    (@e4jvikwp)

    Hi,

    Vik Booking doesn’t use “lightbox”. It uses its own JavaScript library to render a sort of a “lightbox” gallery. We believe you have a conflict with query selectors, and that’s why you are seeing two “lightbox galleries”.
    However, this is something you should fix in your Theme because Vik Booking has got no settings to turn this feature off, and, most of all, Vik Booking correctly starts image galleries on its own DIV elements, with prefixed selectors that contain “vik” or “vbo” (for Vik Booking) in the “class” attribute. Your Theme should definitely not interfere with private elements generated by third party plugins.
    Hopefully, you can find a setting in your Theme so that only elements with certain class attributes can be rendered as lightbox galleries, and not any list of images.
    We hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Disable Lightbox’ is closed to new replies.