Disable Popup when page builder is active
-
I am working on a website built with Elementor. I have my popup trigger set to:
.quote-popup
And then I apply this class to an Elementor button, which triggers the popup as it should. However, now when I have the Elementor builder open, if I try to click on the button to edit other settings, it opens the settings but then also triggers the popup. If I close the popup it also closes the settings. So I’m trying to see if there is a way to disable the popup from being triggered if the builder is open. When Elementor builder is open, it add the following body class:
elementor-editor-active
So I tried modifying my popup trigger to:
body:not(.elementor-editor-active) .quote-popup
I would have thought that this would prevent the popup from opening, but it still opens anyway. Any thoughts?
- The topic ‘Disable Popup when page builder is active’ is closed to new replies.