frog-studio.com

One Page website – close Elementor PopUp navigation on click

If you ever added a nav menu to your one-pager by Elementor Popup and noticed the pop-up did not close after scrolling to the desire point - this is the snippet for you.

The actual code:

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

How to add it to your pop-up

1. Open the popup editor

2. Add an HTML widget to the top of the popup

3. Add the <script></script> tag to the HTML widget

4. Copy & paste the code into the script tag

4. Save changes and you are done!

Share:

More Posts

Endless Options For Web Hosting – How to decide?

As our daily lives move online many people want their own site. No matter what your purpose is, you will have to find out about companies which can host your website. This article will give you some advice on this important decision.

What You Need To Know About Web Design

The first thing that people notice on a website is its overall design. Because you want to give a good first impression, you want to make sure to make a good impression so they do not leave your site. The below can assist you avoid this.

Join The Blogosphere By Using These WordPress Tips

Are you interested in creating your own personalized blog or website? WordPress may be the solution for you.This tool builds you build the sites that you’ve wanted without a long time dedicated to learning coding. Read further to to learn more about this.

Send Me A Message

Thanks, I will contact you as soons as I'll get your info