Divi custom container width

//This breakpoint to make the layout only in desktop, because sometimes this layout
cannot implement on mobile and below.
@media(min-width: 981px){
//This is row styling (wrapper)
.your-row-class.et_pb_row {
max-width: unset!important;
width: 100%;
display: flex;
flex-direction: row;
}
//This for the full width (example: the lady picture above)
.your-row-class.et_pb_row .et_pb_column:first-child {
//you can adjust width depends on the design
width: 44.5%;
margin: 0!important;
}
//This for the normal part (example: description on picture above)
.your-row-class.et_pb_row .et_pb_column:last-child {
//this is to make the part still on normal container
//1135px is our standard container size
max-width: calc(1135px / 2);
//you can adjust width depends on the design
width: 40%;
margin-left: 5.5%;
}
}
Last updated