[Resolved] Padding for GB container pr default set to 40px?

Home Forums Support Padding for GB container pr default set to 40px?

  • This topic has 5 replies, 2 voices, and was last updated 4 months ago by David.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1453670
    Carsten

    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!

    #1453685
    David
    Staff
    Customer Support

    Hi there,

    can you enter 0 in each of the Padding fields. If they are left empty they will inherit the defaults.

    #1453698
    Carsten

    Okay, so why is the default set to 40px?

    #1453707
    David
    Staff
    Customer Support

    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.

    #1453742
    Carsten

    Sounds good, thanks for the explanation!

    #1453750
    David
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.