Grid Responsive Section in Divi-Wordpress

445 Views Asked by At

I have 6 columns in a section. in desktop version its fine (all in one row), in tablet (3x3) but when its in mobile version why its showing a single column in a single row, I want it to be (3x3)or(2x3) and not (1x6)..Please help me with this.

Thanks in advance.

1

There are 1 best solutions below

0
Jean W On
  1. Add a class to the section (Advanced -> CSS ID & Classes). Call it my-section (or whatever you want)

  2. Add this CSS code to Appearance -> Customize -> Additional CSS:

@media only screen and (max-width: 479px) {
    .my-section .et_pb_column {
    width: 50%!important;
}
}

This is for 2 columns on mobile. For 3 columns, simply change the width to 33%.