Skip to content

How to show Elementor Popup on link Click of other Element using selector?

Table Of Content

Do you want an image, a heading, a menu link or several buttons to open the same popup? A CSS class turns any element into a trigger.

The Popup Builder widget in The Plus Addons for Elementor listens for clicks on whatever carries that class.

To check the complete feature overview documentation of The Plus Addons for Elementor Popup Builder widget, click here.

Requirement – This widget is a part of The Plus Addons for Elementor, make sure it’s installed & activated to enjoy all its powers.

Before You Start

  • Edition: Pro — the Popup Builder widget is part of The Plus Addons for Elementor Pro. It does not appear in the widget panel of the free plugin.
  • Widget to enable: Popup Builder, switched on under ThePlus Settings > Widgets.

Step 1: Give the element a class

Select the element that should open the popup. Go to Advanced > CSS Classes and enter a class name, such as open-offer. Add the same class to as many elements as you like; each one will open the popup.

Step 2: Enter the class in the Popup Builder

Select the Popup Builder widget, open Content > Display Options, switch on On Any Other Element’s Click and click the pencil icon. Type the class in Unique Class (Open) — without the dot.

The unique class (open) field inside on any other element's click

Step 3: Hide the built-in button

Set Select Option (Content > Content) to Hidden so no button or icon appears on the page — the popup opens by itself. Leave it on Call To Action or Icon if visitors should also be able to open it by clicking.

Optional: a custom close element

Add a second class, such as close-offer, to a button inside the popup and enter it in Unique Class (Close).

The unique class (close) field inside on any other element's click

The Close class toggles the popup — clicked while the popup is closed, it opens it. Keep the close element inside the popup.

Adding a class to a menu link

In Appearance > Menus, open Screen Options, tick CSS Classes, and enter the class on the menu item. Clicking that menu item then opens the popup.

Settings Reference

SettingWhereDefault
On Any Other Element’s ClickContent > Display OptionsOff
Unique Class (Open)On Any Other Element’s Click optionsEmpty
Unique Class (Close)On Any Other Element’s Click optionsEmpty

Limitations

  • One class name per field. Use the same class on every trigger instead of listing several.
  • Class, not ID. The field takes a class name only.
  • Pro only. The Popup Builder is not in the free plugin.

Troubleshooting

Clicking the element does nothing

Remove any dot from Unique Class (Open), check the spelling matches exactly, and test on the published page.

The element’s link no longer goes anywhere

That is expected: a click on a trigger opens the popup instead of following the link. Use a different element if the link must still work.

Related Docs

Related Frequently Asked Questions

Related Docs