• Resolved andriusvv8

    (@andriusvv8)


    Hello,

    I want to trigger my pop up once I click on my button, however I have no idea how to do it.
    I found out section “Trigger after user clicks on existing element with this ID or Class” what ID or class should I write there? Is there any tutorial how to sync wordpress wpbakery page builder button with Hustle popup?

Viewing 1 replies (of 1 total)
  • Plugin Support Laura – WPMU DEV Support

    (@wpmudev-support8)

    Hi @andriusvv8

    I hope you’re well today!

    There’s no tutorial for this but if you’re using WPBakery Page Bulder to add a button to the page then it should be fairly easy:

    1) edit that button first (using WPBakery Page Builder, just like you were adding it) and look for “Element ID” option there; in that option put some unique ID (name) of your choice, just make sure it’s really unique; let’s say you’ve used

    my-contact-page-popup-button

    as that “Element ID” field value

    2) then go to your popup settings and in “Behavior” settings set “Pop-up Trigger” option to “Click” and make sure that “Click on existing element” toggle is switched on

    3) then in the “CSS selector(s)” field below put the same ID (from step 1) prefixed with # (hash) character, like this

    #my-contact-page-popup-button

    Save settings and from now on clicking on that button should show your popup.

    Best regards,
    Adam

Viewing 1 replies (of 1 total)

The topic ‘Pop-up trigger’ is closed to new replies.