Divi Help Documentation by Gables Tech

Columns Divi

Columns in Divi

This ensures that the columns and their modules do not slide and remain together.

Now once you have code copied.
Go to Divi > Theme Options > Custom CSS, and paste code

***

@media only screen and (max-width: 980px) {

.two-columns .et_pb_column {

width: 50%!important;

}

.three-columns .et_pb_column {

width: 30.33%!important;

}

.four-columns .et_pb_column {

width: 25%!important;

}

.five-columns .et_pb_column {

width: 25%!important;

}

}

***

1-Go to Row Sections – Click Design > Spacing > Margin each column minim 10px
2-In Row sections go Advance
3-In the ROW  Advance  > CSS ID & Classes *** four-columns  .et_pb_column ***(Change the number columns in the Row)
4-Paste Code