Sale icon Wpmet Turns 8! Up to85% Off
ENDING IN:
World Cup Logo
00 DAY
:
00 HOUR
:
00 MIN
:
00 SEC
Grab Your Deal Today Arrow Icon

Popup on Click (Custom Selector)

Want to trigger a popup exactly when a user clicks a specific element? With PopupKit’s Clique no seletor personalizado feature, you can turn any button, menu item, or text link into a trigger.

How to Show a Popup on Click (Custom Selector) #

Follow these four simple steps to set it up.

Step 1: Set the Trigger Event to Custom Selector #

First, you need to tell PopupKit that this specific popup should only appear when a user performs a click action.

  • Open your PopupKit campaign editor.
  • Navegue até o Display Options tab on the left sidebar.
  • Localize o Open Event menu suspenso.
  • Selecione Clique no seletor personalizado da lista.
Custom seletor popup
  • No Classe seletora field, enter a unique class name (e.g., subscribe-popup or promo-click).
    • Note: Do not include a period (.) before the name here. Just use the plain text.

Step 2: Define Where the Popup Should Load #

Even though the popup triggers on a click, you must define which pages are allowed to load the popup scripts.

  • Vou ao Condições de exibição aba.
  • Clique no + Adicionar Condição botão.
How to Show a Popup on Click (
  • Debaixo de Incluir section, choose your target location:
    • Site inteiro: To make the click trigger work on every page.
    • Singular: To target a specific Page or Post (e.g., Select “Page” then choose “Wpmet Tutorial”).
  • Complete your design in the editor and ensure the Activate Campaign toggle is ON.
  • Clique Salvar.

Step 3: Link the Class to Your Website Element #

Now, you need to “connect” your website button to the popup by adding the CSS class you created in Step 1.

For Gutenberg (Block Editor): #

  1. Edit the page where you want the trigger to appear.
  2. Clique no Botão (or image/text) you want users to click.
  3. In the right-hand settings panel, expand the Avançado aba.
How to Show a Popup on Click (
  1. Localize o Classe(s) CSS adicionais campo.
  2. Type in the exact class name you used in Step 1 (e.g., subscribe-popup).
  3. Atualizar ou publicar your page.

For Elementor or Other Builders: #

  • Select your widget > 
  • Vá para Avançado > Classes CSS > Enter your class name.

Step 4: Verify and Test Popup  on Click #

Once saved, it’s time to see the trigger in action.

  • Visit the live URL of the page you just edited.
  • Click the button or element where you added the CSS class.
  • The popup should appear instantly.

Pro Tip: If the popup doesn’t appear, ensure that the spelling of the CSS class in your Page Editor matches the “Selector Class” in PopupKit exactly.

By mastering the PopupKit Custom Selector Click, you can create a seamless, high-intent user experience that triggers engagement exactly when your audience is ready. You’re now ready to turn any element on your site into a powerful conversion tool!

Quais são os seus sentimentos

Updated on Abril 2, 2026