Hello,
If the pop-up is made to be displayed in the center, then by clicking outside it, by default it will close. The only way is to use other positions.
Hi
Thanks. Why this exeption for the Center style? Is there a way to Change this? I Need the box in the Center but to Close it only with click on the button
Cheers
Hansjörg
Hey Hansjörg,
Thank you for your patience.
One trick to disable the closing of a center-aligned pop-up when clicked outside it is to use the following CSS example.
div#boxzilla-overlay-41 {
display: none;
}
You will need to replace “41” with the id of the pop-up. Please note that doing this will remove the overlay that fades the content.
Hello Harish
thank you for comming back to this question.
Your solution works, but still the user could hit ESC to remove the popup instead of just the Special Close button. I Need to deactivate any shortscuts to move away a specific popup.
Could that be deactivated too?
Cheers from Germany
Hansjörg
Hey Hansjörg,
I regret to say that it would not be possible. You will need some custom code that is beyond the scope of our support.
Hello Harish
that’s a pity. But thank you anyway
Cheers
Hansjörg