Out-of-the-box pop-ups are not available in Divi. However, some plugins can create custom popups while using Divi.
Using the Bloom plugin to create a custom HTML pop-up
Download and install the Bloom plugin
Go to WordPress Dashboard→ Bloom → Optin Forms → New Optin
Create a new opt-in and choose the Popup Style
Give the opt-in a name
Under Select Email Provider, choose Custom HTML Form
In the Insert HTML text area, add your custom HTML code that will be displayed in the opt-in form
Click on the Design Your Optin button
Choose any of the available templates and click on the Next: Customize button
Remove the Optin Title by deleting the
Subscribe To Our Newsletter
textRemove the Optin Message text by deleting the
Join our mailing list to receive the latest news and updates from our team.
textSet
No Image
for the Image Orientation optionClick on the Next: Display Settings button
Choose the Intro Animation, by default, that is set to Fade In
Uncheck the Trigger After Time Delay checkbox and the Trigger At The Bottom of Posts checkbox
Check the Trigger on click checkbox and set the following CSS selector
divi_show_custom_popup
Under the Display on section, check the Everything checkbox
Click on the Save & Exit button
Add the button that will trigger the opt-in to show
Edit the page layout or the Header Template or Footer template
Insert a Button module
Set the Text the button will display, and for the Button Link URL, use
#
Go to Advanced Tab → CSS ID & Classes → CSS Class and type in
divi_show_custom_popup
Pro tip: the divi_show_custom_popup
is a CSS class that can be added to any Divi module. Once it is set, clicking on the module that has the divi_show_custom_popup
set will trigger and show the Bloom Custom HTML opt-in.
Using the Popups for Divi extension to create custom popups
Download and Install the Popups for Divi extension (for free)
Define a Popup
Enable the Visual Builder on the page where the Popup will be displayed.
Add a new Section in the page's layout.
In the Section → Advanced Tab, enable the option This is a Popup and set the popup ID to
sample
.
Trigger the Popup
Finally, add a new button in the page layout and set the Button Link URL to
#sample
Done
Save your page, and load it on the Frontend
Click the button to see your Popup in action!
More details about the Popups for Divi extensions can be found here.