Then here s the css snippet to set a custom page container width globally.
Divi gutter width css.
Since we are using the divi gallery module gutter width also refers to the spacing between gallery items.
2 represents a 3 right margin between columns.
Has a warning x in the divi custom css panel.
You should only add css to a child theme.
3 represents a 5 5 right margin between columns.
By default the row width is 80 i will increase this to 95 for screen sizes 981px till 1350px.
It s quite easy to do with the divi builder just choose a section set the gutter set the background and you are done.
Once the plugin is installed and activated navigate to divi divi booster.
You will also need to apply the css class to your row.
2 represents a 3 right margin between columns.
You can create or paste your code here.
Simply copy the css code snippet below and paste it in each column.
Only a few lines of css is needed.
The divi css and child theme guide provides a guide to the css selectors used in the divi theme framework.
Then under sitewide settings layout check the box remove box layout shadow.
Select style css in the theme files list on the right.
The grid layout is only visible on a live preview of the page.
With any divi row element the optional values for gutter width range from 1 to 4.
Gutter width refers to the spacing between columns.
0px 0px 0px 0px.
One of the most common css related queries we see in various online forums and in the divi community groups is the targeting of the elements that make up divi s modules.
Then scroll down and click on save changes.
It helps ease the pain for spacing out columns evenly.
The css stylesheet is the best option for adding css to divi.
In the wordpress dashboard go to appearance editor.
The 1fr part it doesn t like but i left it in anyway.
3 represents a 5 5 right margin between columns.
That is why divi has the gutter width option for each row.
1350px divi column row width.
1 represents zero margin between columns.
The css code below will stretch the container with pagination to full width dl blog module1 et pb ajax pagination container div grid column.
Change 800px to the value you desire.
4 represents a 8 right margin between columns.
Go to the row settings then go into each column to the advanced tab custom css main element.
We can resize the divi column widths by using some css to force the columns to any size we desire.
Fortunately it is not at all that hard to do and most of it can be done with the settings in the divi builder.
Optional values for gutter width range from 1 to 4.