freelancer mojibur

Automatic Elementor Pop up menu closing on clicking link

You can use JS to catch a click on a link in your popup and trigger a close action, ex:

<script>
jQuery(function($){
$(document).on(‘click’,’.elementor-location-popup a’, function(event){
elementorProFrontend.modules.popup.closePopup( {}, event);
});
});
</script>

Leave a Reply

Your email address will not be published. Required fields are marked *