.elementor-popup {
display: none !important;
visibility: hidden !important;
opacity: 0 !important;
}
document.addEventListener('DOMContentLoaded', function() {
const iconButtons = document.querySelectorAll('.your-icon-class'); // replace with your icon class
iconButtons.forEach(function(button) {
button.addEventListener('click', function(e) {
e.preventDefault();
const popupId = button.getAttribute('data-popup-id'); // assuming you use a data attribute
if (popupId) {
elementorProFrontend.modules.popup.showPopup( { id: popupId } );
}
});
});
});