Arrange the elements in a Flexbox Container

Last Update: April 21, 2024

Containers offer you enormous flexibility in how to arrange the elements inside the container. The controls for arranging the items in your container are found in the Items’ area of the Layout tab.

1 1 Arrange the elements in a Flexbox Container 1

Direction

Direction Arrange the elements in a Flexbox Container 3

Use the Direction option to determine the direction in which the contained elements will appear.

Row Row 1 Arrange the elements in a Flexbox Container 5Items are positioned horizontally3 Arrange the elements in a Flexbox Container 7 
Column Column Arrange the elements in a Flexbox Container 9Items are positioned vertically4 Arrange the elements in a Flexbox Container 11 
Row Reversed Row reversed Arrange the elements in a Flexbox Container 13Items are positioned horizontally but in reverse order5 Arrange the elements in a Flexbox Container 15 
Column Reversed Column reversed 1 Arrange the elements in a Flexbox Container 17Items are positioned vertically but in reverse order6 Arrange the elements in a Flexbox Container 19 

Justify Content

JUstify content in a column Arrange the elements in a Flexbox Container 21

The items below are arranged in a column.

Start Justify Start Arrange the elements in a Flexbox Container 23Items are aligned to the start of the container 1 justify Arrange the elements in a Flexbox Container 25
Center Justify Center Arrange the elements in a Flexbox Container 27Items are aligned to the center of the container 2 justify Arrange the elements in a Flexbox Container 29
End Justify end Arrange the elements in a Flexbox Container 31Items are aligned to the end of the container3 justify Arrange the elements in a Flexbox Container 33 
Space Between Justify Space Between Arrange the elements in a Flexbox Container 35Items are spaced evenly across container.
The first item aligns with the start and the final item with the end.
 
Space Around Justify Space Around Arrange the elements in a Flexbox Container 37Items have an equal space between
themselves. There is an equal amount
of space between the items and
there is equal space between the
first and last items and the container’s
edges.
Space Evenly JUstify Space Evenly Arrange the elements in a Flexbox Container 39Items have equal space between
themselves and then container’s edges.

Align Items

Control how the contained items will align on their center axis, depending on the direction chosen in the Direction field.

Align items column Arrange the elements in a Flexbox Container 41

The items below are arranged in a column.

Start Align Start Arrange the elements in a Flexbox Container 43Items are aligned to the start of the container 1 align Arrange the elements in a Flexbox Container 45
Center Align center Arrange the elements in a Flexbox Container 47Items are aligned to the center of the container 2 align Arrange the elements in a Flexbox Container 49
End Align end Arrange the elements in a Flexbox Container 51Items are aligned to the end of the container 3 align Arrange the elements in a Flexbox Container 53
Stretch Align Stretch Arrange the elements in a Flexbox Container 55Items are stretched across the container4 align Arrange the elements in a Flexbox Container 57

Control how the contained items will align on their center axis, depending on the direction chosen in the Direction field. It also helps distribute the space leftover in the container between the items.

Elements Gap

elements gap Arrange the elements in a Flexbox Container 59

Control the spacing between one element to another (widget or another container) in pixels (PX), percentage (% ), or Viewport Width (VW).

Note: The default Elements Gap is set to 20PX, but it can be edited in Site Settings > Layout.

Wrap

wrap Arrange the elements in a Flexbox Container 61

Control if the contained items will be forced to remain in one row or spill over to the next one. Wrap will break the line where items no longer fit in the container, whereas No Wrap will keep all widgets in one row.

WrapThe line will break where items no longer fit the container, and will spill to an additional line1 wrap Arrange the elements in a Flexbox Container 63
No WrapThe items will be forced to remain in one row2 wrap Arrange the elements in a Flexbox Container 65 

Note: You’ll find more options connected to arranging container elements under the Advanced tab.

Next steps

Now that you know how to arrange the widgets in a container, learn about the container settings in the Layout tab.

To get the most out of Elementor, check out the Elementor Academy for helpful learning resources. If you come across any issues or need help, please contact our Support Center.

On this page

Share this article