In Divi when I create a simple row and set that row to “full width”, its width in CSS is actually 89%:
.et_pb_row.et_pb_row_fullwidth, .et_pb_specialty_fullwidth>.et_pb_row {
width: 89%!important;
max-width: 89%!important;
}
Why and how to solve that problem? Note: my row contains two columns.
3
Answers
The rows are set to
max-width:89/90%
combine withmargin-left/right:auto
to maintain gutters on either side of the content.You’ll want to use a full-width section & not a specialty-section. If needed you can add custom-classes to the section. I’ve found it’s best to add classes at the top-level (on the sections, not any of their rows or modules).
If needed, you can deque the module shortcodes, rewrite them yourself & then remove / re-add their shortcode handles. This article explains it well: https://jonathanbossenger.com/building-your-own-divi-builder-modules/
From:
Customizer >> General Setting >> Website Content Width
you can set the max-width of the main contents.This should do the trick, unless it’s being intercepted by inline-styles. The
.et_pb_column
element might be getting in the way as well.Try adding the following to the Additional-CSS section in the customizer.
You can use this code insted of your current css
It’s coming from
Divi Builder Settings
. You can easily make them100% width
.Just open the page, which you want to change and go to
Edit page
. Use builder of theme by clicking toUse The Divi Builder
:After click options button ( I marked it red in the image below ):
You’ll see popup with some options. Find
Gutter Width
and set its value to 1:Click
Save
button and thenUpdate
page( use default wordpress sidebar at right side of your page):You can check your page. The css rules you provided will ovveride with
width: 100%
by justDivi settings
:P.S. You should make this changes for all pages, where you want to have
100% width
. If you want all pages have100% width
by default, then you should go to:Appreance -> Customize -> General Settings -> Layout Settings
, change value ofWebsite Gutter Width
to 1 and append changes ( at the top of sidebar clickSave & Publish
button )