Close your Elemntor Pop-Up Menu on Link Click

Share Now

Share on facebook
Share on pinterest
Share on twitter
Share on linkedin
Share on email

To begin with, insert an HTML element in the same popup as your menu
This will make Elementor close popup on click. After adding the code.

Then, copy the code below in it

jQuery(function($){
$(document).on('click','.elementor-location-popup a', function(event){
elementorProFrontend.modules.popup.closePopup( {}, event);
});
});
Nahid Mahamud

Nahid Mahamud

Web Developer | Graphic Designer | WordPress & Woo-commerce Expert