Archived topic
Padding for GB container pr default set to 40px?
5 replies · Started by Carsten on September 22, 2020
Hi there, I couldn't figure out, why the GB container was not full width, even if the settings were full width, and no spacing set, until I discovered this code in the inspector:
.gb-container.gb-container-09f180a1 > .gb-inside-container {
padding: 40px;
max-width: 1100px;
margin-left: auto;
margin-right: auto;
}
Why is the padding for the GB container pr default set to 40px, when you have no spacing set in the editor, this is very confusing?
Thanks!
Hi there,
can you enter 0 in each of the Padding fields. If they are left empty they will inherit the defaults.
Okay, so why is the default set to 40px?
Couple of reasons.
1. It matches the default container padding of the theme.
2. Future GB update will allow the user to set the Default values in the settings. To make sure that this featured does not override any existing settings there has to be a default loaded today.
Sounds good, thanks for the explanation!
You're welcome