[Plugin: FancyBox for WordPress] No setting to click on overlay (2 posts)

  1. beldendavid
    Posted 6 years ago #

    According the changelog, this has been added in version 2.7 of the plugin:

    Added: Setting to close fancybox when clicking on the overlay

    But I can't find it in the Fancybox for WP settings, and I'd love to add this functionality, as the default behavior seems to be to ignore clicks on the overlay. I've tested on 2 different installations of WP (2.9-beta, and 2.8.6) and neither appears to have it.

    Many thanks for an otherwise great plugin!


  2. beldendavid
    Posted 6 years ago #

    As a temporary workaround, I changed line 320 in fancybox.php to the following:
    'hideOnOverlayClick': <?php if ($settings['hideOnOverlayClick']) { echo "true"; } else { echo "true"; } ?>,

Topic Closed

This topic has been closed to new replies.

About this Topic