Modal Popup Z-sorting issues
-
Hello,
Thanks for the super free modal plugin.I’ve had a look through the posts on this issue and none of the posts or the tutorial show how to solve it, so I thought I’d post here in the hope it can get solved.
I’ve a page design designed with Elementor Pro using the Elementor Hello Theme. I have most of the site on a z index of 1. The sticky menu is on 2 and one of the background elements is on 0. If I put the modal popup in its own section and set it to 3 then it behaves as expected. The problem is when I put the modal popup in one of the sections that’s set to 1…
Pressing the modal button now makes the modal appear over the current section but BENEATH the following one (z-index of 1). There’s also multiple other issues with z-sorting. For example, I want to get the popup to appear in front of everything, but the sticky menu is over it too.
The solution to this would be some custom CSS I’m imagining, as my (and no doubt others’) expected behaviour is for the popup to appear above everything regardless.
It looks like the z-sort CSS is being overwritten somehow and it’s not really clear to me how.
Could you either suggest the CSS required, or maybe make a fix to the plugin to display the modal above all sections?
- The topic ‘Modal Popup Z-sorting issues’ is closed to new replies.