Search Divi Modal Popup Documentation
Search for answers or browse our knowledge base.
How to close the modal on click of a link inside the modal content area
If you want to close the modal on click of a link inside the content area, it can be done by adding a custom CSS class name in HTML mode: “el_modal_popup_close”.
Here is an example.
![](https://diviextended.com/documentation/wp-content/uploads/2021/10/divi-modal-popup-close-class.webp)