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.
1 represents zero margin between columns.
We can resize the divi column widths by using some css to force the columns to any size we desire.
The divi css and child theme guide provides a guide to the css selectors used in the divi theme framework.
With any divi row element the optional values for gutter width range from 1 to 4.
Fortunately it is not at all that hard to do and most of it can be done with the settings in the divi builder.
The css stylesheet is the best option for adding css to divi.
Gutter width refers to the spacing between columns.
Select style css in the theme files list on the right.
It s quite easy to do with the divi builder just choose a section set the gutter set the background and you are done.
You should only add css to a child theme.
Simply copy the css code snippet below and paste it in each column.
2 represents a 3 right margin between columns.
Only a few lines of css is needed.
Has a warning x in the divi custom css panel.
Then under sitewide settings layout check the box remove box layout shadow.
The grid layout is only visible on a live preview of the page.
By default the row width is 80 i will increase this to 95 for screen sizes 981px till 1350px.
3 represents a 5 5 right margin between columns.
It helps ease the pain for spacing out columns evenly.
4 represents a 8 right margin between columns.
3 represents a 5 5 right margin between columns.
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.
Change 800px to the value you desire.
Then scroll down and click on save changes.
You can create or paste your code here.
In the wordpress dashboard go to appearance editor.
If you add css to the parent theme it will be overwritten when divi updates.
1350px divi column row width.
0px 0px 0px 0px.
Optional values for gutter width range from 1 to 4.
You will also need to apply the css class to your row.
2 represents a 3 right margin between columns.
Once the plugin is installed and activated navigate to divi divi booster.
Go to the row settings then go into each column to the advanced tab custom css main element.
The 1fr part it doesn t like but i left it in anyway.
Column 1 padding.