Open Your Modal with an Elementor Button
With the Ocean Modal Window extension, you can easily create modals on your site as explained in this article.
If you want to open your modal with a button created with Elementor, here are the steps to follow:
- 1
- Edit your page with Elementor.
- 2
- Add the button widget in your page with your modal ID as url, like this #omw-1232.
- 3
- Click on the Advanced tab of the button widget and add the omw-open-modal class in the CSS Classes field.