Background

Note: This approach is no longer used as the outer Section will be used to provide the 10px paddings on both sides.
 
To establish an approach for easy set up of paddings around the browser left and right borders for all kinds of devices.
 

Findings:

  • The “div.elementor-widget-wrap” is the only Div that provides the paddings around the columns, for both Section and Inner Section. The default is 10px 10px 10px 10px.
  • These paddings apply to all columns for both fullwidth and boxed sections. Same applies to inner-section.
  • To have 20px paddings to the browser borders:
    • For single column structure, set the PADDINGs of the outmost column of the section to 10px 20px 10px 20px.
    • For multiple column structure, set the paddings to 10 10 10 20 for the left-most column and 10 20 10 10 for the right-most column. When these columns wrap at break-points, adjust paddings of these wrapped columns accordingly.
    • If inner section exists, apart from setting the paddings as per above, also set the PADDINGs of the inner section columns accordingly at different break-points. 

Test01

Fullwidth Section


Structure:

  • Fullwidth Section
    • Col-1
      • Text Editor

Markup:

  • section.elementor-section.elementor-section-full_width
    • div.elementor-container
      • div.elementor-column
        • div.elementor-widget-wrap (padding:10)
          • div.elementor-element
            • div.elementor-widget-container

Test02

Fullwidth Section


Structure:

  • Fullwidth Section
    • Col-1
      • Text Editor
    • Col-2
      • Text Editor

Test02

Fullwidth Section


Markup:

  • section.elementor-section.elementor-section-full_width
    • div.elementor-container
      • div.elementor-column
        • div.elementor-widget-wrap (padding:10)
          • div.elementor-element
            • div.elementor-widget-container
      • div.elementor-column
        • div.elementor-widget-wrap (padding:10)
          • div.elementor-element
            • div.elementor-widget-container

Test03

Structure:

  • Fullwidth Section
    • Heading
    • Inner Section (Boxed)
      • Col-1
        • Text Editor
      • Col-2
        • Text Editor

Markup:

  • section.elementor-section.elementor-section-full_width
    • div.elementor-container
      • div.elementor-column
        • div.elementor-widget-wrap (padding:10)
          • div.elementor-element
            • div.elementor-widget-container
          • section.elmentor-section.elementor-inner-section.elementor-section-boxed
            • div.elementor-container
              • div.elementor-column
                • div.elementor-widget-wrap (padding:10)
                  • div.elementor-element
                    • div.elementor-widget-container
              • div.elementor-column
                • div.elementor-widget-wrap (padding:10)
                  • div.elementor-element
                    • div.elementor-widget-container

Test04

Structure:

  • Boxed Section
    • Heading
    • Inner Section (Boxed)
      • Col-1
        • Text Editor
      • Col-2
        • Text Editor

Markup:

  • section.elementor-section.elementor-section-boxed
    • div.elementor-container
      • div.elementor-column
        • div.elementor-widget-wrap (padding:10)
          • div.elementor-element
            • div.elementor-widget-container
          • section.elmentor-section.elementor-inner-section.elementor-section-boxed
            • div.elementor-container
              • div.elementor-column
                • div.elementor-widget-wrap (padding:10)
                  • div.elementor-element
                    • div.elementor-widget-container
              • div.elementor-column
                • div.elementor-widget-wrap (padding:10)
                  • div.elementor-element
                    • div.elementor-widget-container