This support ticket is created vor 7 Jahren, 4 Monaten. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.
I have a site built with the Divi theme. Content width is set to 980px in the Divi theme customizer. When I create layouts from toolset, the content width is reduced to 960px, and if I use the Divi builder in a custom post, it's further down to 760px content width. I want 980px all over.
On the home page, here's how the width should be. 980px versteckter Link
Here's a custom post where the display is wrong. versteckter Link
All elements from the Thailand image down to the comment section is made with Divi builder and have a content width of 760 px. Should have been 980px. The rest of the page is 960px content width, but should have been 980px.
You may need to make some tweaks to the CSS to achieve the results you want, at the moment there are CSS rules coming from the theme (Divi) and from Toolset which relies on Bootstrap.
When a Divi page builder section appears inside a
Bootstrap columns include padding, so where a Divi section appears inside a column it will shrink by the size of the padding, which you can reverse by adding a negative margin to the section equal to the size of the padding, e.g.
As for the page with the Thailand section having a width of only 760px content, the rules for that seem to come from Divi itself, I see two rules for .et_pb_row, namely
Thanks for looking into this. I'm affraid it did not worked as expected.
I put your code into the Divi custom CSS section.
The widths are still 950px and 760px
That should offset the padding in the Bootstrap column.
The second CSS I included was pointing out was wrong with the current CSS, not what you should change.
The Divi row has a width of 80% and you should overwrite that and set it to 100%. You may need to add !important depending on the order the CSS is loaded, like so: