Hi,
I had the same problem and I solved it with the code I posted above.
Try to copy-paste this code into your footer:
<?php if ( Theme_My_Login::get_object()->errors->get_error_code() ) {
?>
<script type="text/javascript">
setTimeout( function(){
jQuery('#popmake-36069').popmake('open');
}, 1000 );
</script>
<?php
} ?>
It should work! ??
Regarding your other problem, that has to do with z-index. I had played a little with your code and that’s clearly the problem in your case.
Z-index sets an item in front or behind other items. It’s very usefull for these cases when we are working with popups, but it’s important to use proper values.
First, let me give you one advice: avoid using z-index with 99999999 or something like that, because then, what happens is that when you try to put one item in front of something using a very high number, you will not be able to.
So, what you need to do is to access your backoffice, go to Popup Maker and then edit your popup. While editing it, routhly in the middle you will see the Z-index with “Overlay Z-Index” and “Popup Z-Index”.
I suggest you these values in your specific case:
Overlay Z-Index – 9500
Popup Z-Index – 10000
Then I suggest you to edit your selectbox option and put it with z-index: 10500;
If you don’t know how to do it, simply add this CSS code:
.select2-with-searchbox {
z-index: 10500;
}
I’m sure this will help you with your problems. ??