Divi is a beautiful theme designed by Elegant themes and Robotparts has been created with this. Below i want to share some tricks and tips i have learned while designing the site.


How to add rounded corners to your modules

In your custom CSS tab under the MAIN ELEMENT: Add:

border-top-left-radius:30px;
border-top-right-radius:30px;
border-bottom-left-radius:30px;
border-bottom-right-radius:30px;

 


How to add a shadow inside your module

In your custom CSS tab under the MAIN ELEMENT: Add:

box-shadow: inset 2px 2px 10px #262626;

 


How to add a shadow Outside your module

In your custom CSS tab under the MAIN ELEMENT: Add:

box-shadow: 6px 8px 10px #a8a8a8;

This example has a shadow 6 pixels to the right, 8 pixels down and is 10px blurred