Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Harish Chouhan

    (@hchouhan)

    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.

    Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    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

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    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.

    Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    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

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    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.

    Thread Starter Der-Bank-Blog

    (@der-bank-blog)

    Hello Harish

    that’s a pity. But thank you anyway

    Cheers
    Hansjörg

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Disable Close on clicking aside’ is closed to new replies.