The Divi builder allows you to set padding and margin withing your sections, rows and modules, so it is now best to just use these built in tools

Reduce the spacing between the Divi modules with the following code;

.et_pb_text,.et_pb_promo {
margin-bottom: 0;

hr.et_pb_space {
display: none;
.et_pb_row {
padding-top: 5px;

.et_pb_column_1_2 {
width: 534px;
margin-right: 10px;

and for 3 columns also add

.et_pb_column_1_3 {
width: 300px !important;
.et_pb_column {
float: left;
margin-right: 20px !important;

Pin It on Pinterest