How to trigger a pop-up by adding a CSS class
Who is this article for
Anyone who owns Divi Den Pro and would like to know to use pop-ups with button click event.
• Skill level: Easy
• Time to complete: 5 min
How to do it
To trigger a pop for a click-event on any page Divi page element, add a specific class in the element settings as follows:
Please note that each premade Divi Den Pro popup will have its own unique class. Take care to use the matching class or it may not work as expected.
List of the classes for pop-ups
- Kingly Form Pop-Up - Diana - “popup_contact_form_trigger”
- Renowned Pricing Pop-Up - Diana - “popup_pricing_trigger”
- Great Portfolio Pop-Up - Diana - “popup_portfolio_trigger”
- Striking Search Pop-Up - Diana - “popup_striking_search_trigger”