Hi,
I am trying to stop the magnific popup from closing anytime the user clicks anywhere outside the actual popup (the overlay area) or presses the escape key. I have searched the forums and everything i saw on this post:https://kriesi.at/support/topic/iframe-modal-window-not-close-outside-of-window/ is not working form my en.
Any help will be much appreciated.
Hey adotopanuga,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
Victoria
Hi,
Thank you for the update.
We added this code in the site’s functions.php file.
// https://kriesi.at/support/topic/iframe-modal-window-not-close-outside-of-window/#post-785469
You can no longer close the lightbox by clicking on the background.
Best regards,
Ismael
Hi Ismael,
Thanks. I just visited the site and it works for other popups but not for the popup that i set to auto load when the homepage loads. Could you help with this.
Hi adotopanuga,
I edited the code for you. Please check.
Best regards,
Victoria
Thank you it works now.
You guys are awesome.
Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon