Skip to main content
All CollectionsWebsites by BLAB
Outer and Inner Spacing
Outer and Inner Spacing

Outer spacing and inner spacing are the space around an element. Outer spacing is also know as margin, and is the space outside of the element's borders. Inner spacing is also known as padding, and is the space inside these borders.

Justin avatar
Written by Justin
Updated yesterday

When you adjust the outer spacing and inner spacing of an element, you change its placement and appearance. This can make your site look more customized and professional.

To adjust the outer and inner spacing around an element:

  1. To access the design editor, right-click the element, and click Edit Design. Or if you are in flex mode or Editor 2.0, select Edit Design from the floating menu to open the design panel.

  2. Click Spacing.

  3. To change the outer spacing (margin), click and edit the numbers in the outer box. You can also click on one of these numbers and use the slider to adjust the size.

    outer_spacing.png

  4. To change the inner spacing (padding), click and edit the numbers in the inner box. You can also click on one of these numbers and use the slider to adjust the size.

    inner_spacing.png

Note

If you see odd spaces that you cannot remove, be sure to check all parts of the widget, including the column in which it is located.

Flex Mode and Editor 2.0 Size Unit Options

In flex mode and Editor 2.0, there are additional measurement options:

  • px (pixels). Provides a fixed unit of measurement unaffected by device size variations.

  • % (percentage). A versatile unit that scales elements proportionally based on the size of their container.

  • vh (viewport height). Dynamically scales elements in relation to the screen's height (viewport).

  • vw (viewport width). Dynamically adjusts elements based on the screen's width (viewport), ensuring proportional scaling across different devices.

Note

For detailed information, see Size Units.

To change the size unit:

  1. Open the design panel of an element.

  2. Navigate to the Spacing section.

  3. Click into one of the boxes.

  4. Click the current size unit.

  5. Click the desired size unit.

    flex-padding-margin-size-units.png

Did this answer your question?