Support » Plugin: ARI Fancy Lightbox - WordPress Popup » Close on Outside Click [Mobile]

  • Resolved reaxl

    (@tolemak)


    Hi

    Close on outside click- Close the lightbox when click outside of the content.

    This option works perfectly on Desktop but not on Mobile devices. Is there any way to fix this?

    Thank you so much for this plug-in 🙂

    Cheers

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author arisoft

    (@arisoft)

    Hello,

    Open “Advanced” tab on “ARI Fancy Lightbox -> Settings” page and populate “Custom JS code” parameter with the following code:

    $.fancybox.defaults.mobile.clickSlide = function(current) {return 'close';}

    Thank you so much mate, works perfectly on mobile 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Close on Outside Click [Mobile]’ is closed to new replies.