How Can We Help?

Search for answers or browse our knowledge base.

< All Topics
Print

How to move the close button to the top?

To move the close button to the top, you could use the following CSS snippet.

Go to WordPress Dashboard >> Divi >> Theme Options >> Custom CSS >> add below code snippet.

.el_modal_popup_header{order:3;}
.el_modal_popup_body{order:2;}
.el_modal_popup_footer{order:1;}

Previous How to close the modal on click of a link inside the modal content area
Next How to add overlay color or icon on image?
Table of Contents