Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marklchaves/ffb949d75d916b64ed44f71d91ce9459 to your computer and use it in GitHub Desktop.
Save marklchaves/ffb949d75d916b64ed44f71d91ce9459 to your computer and use it in GitHub Desktop.
Force the second popup to display when there are back-to-back popups.
/**
* If the popup's Display > Advanced > Stackable setting isn't working
* for some reason, use this CSS to allow the second popup to display.
*/
.pum-overlay.pum-active,
.pum-overlay.pum-active .popmake.active {
display: block !important;
/* opacity: 1 !important; If needed. */
}
@marklchaves
Copy link
Author

marklchaves commented Jun 8, 2021

Also fixes the problem when a popup doesn't display but the page is "frozen" or "blocking" as if the popup is there.

Again, try to set the popup's Display > Advanced > Stackable setting first.

https://wordpress.org/support/topic/popup-not-showing-and-blocking-front-page/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment