How To Connect an Elementor Button to an Elementor Popup

highlight-green-border.svg

One of the most powerful features in Elementor Pro is the Popup builder.

It comes with countless pre-built templates you can choose from and start customizing.

In some cases, you do not want the pop up to be triggered automatically but require the user to click a button

In this how-to post, I will show you how to

  1. Create a pop up with Elementor Pro
  2. Add a button that opens the pop on click
  3. Use the button anywhere on the site, also in pages and posts that are not created with Elementor

Create the popup

In your WordPress dashboard, navigate to Templates > Popups and click [Add New].

Browse all the available Popups and choose one that fits to your needs. I recommend you ignore the design and to choose a Popup that is in the spot you want it to have, this way you don’t have to customize all the positioning of your Popup from scratch.

After choosing your Popup you can start customizing it. One thing you might start looking for is how to change the width and height of your Elementor Popup.

In the bottom left corner click settings symbol, that opens up the general Popup settings where you can change the size, positioning and more.

After you finished editing your Popup, click publish. During the wizard, do not add any display conditions or triggers. This Popup will be triggered by a click on a button, that we will create in the next step.

Add a button

Create a new or edit an existing Elementor page. Add a button to it.

Edit the link property of the button. Click on Dynamic and choose Popup.

Now the button is set to open a pop up on click. To choose which Popup the button should trigger click on Popup and search for the Popup you just created and published.

Now click preview and see if it works.

Add the button anywhere on your site

If you want to use this button in multiple Elementor pages, you can save the button as global and add it in posts and pages that are created with Elementor.

To use the button on pages and posts that are not created using Elementor, browse to Templates > Saved Templates.

Copy the shortcode of the button you just saved as global, and add it in any post or page you want. Even if those posts are not created using Elementor, the button works just fine.

This button here is created using the shown method:

You need Elementor Pro, to use the Popup Builder.

Also, check out my post about how to create Popups that do not annoy.

Share this

Share on facebook
Share on twitter
Share on linkedin
Share on whatsapp
Rolf Mistelbacher

Rolf Mistelbacher

Hi, I am the CEO & Founder of Fresh van Root, a boutique digital agency in Vienna, Europe. I got first online in '96 and since then I am hooked on the web. Here I blog about social media, WordPress and blogging, productivity, apps and tools for digital marketers, and all things related to running a digital agency. Before starting Fresh van Root I was working at Microsoft for quite some time. Get in touch with me on LinkedIn or Twitter!

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

The best from our blog plus hand-selected (AI-free) reading tips.
Once a month. Curated for you. Saving you time.

I spend 5 to 20 hours a week to check out tools, resources, and articles that curious marketers and content creators should know about.

Subscribe to our bi-weekly newsletter and stay ahead of the curve! (Example)

rolf mistelbacher fresh van root

Rolf Mistelbacher
CEO & Founder Fresh van Root