Skip to main content

Section

Overview

Sections are intended to be used as rows within your email. They will be used to structure the layout.

❗️ The Border Radius and Inner Border Radius parameters will only apply to background colours because of Outlook compatibility. If you'd like to add a selector to override this, add the following

.c-rounded table,
.c-rounded table > tr > td,
.c-rounded table > tbody > tr > td
{ border-collapse:separate; }

as a Custom CSS Style block and then in your column under Styling/Custom CSS Classes add c-rounded. This will then apply it to your borders but might give unexpected behavior in Outlook.

email borders


Parameters

ParameterParameterValid BlocksRequired
ChildrenChildren componentSection Component Block GroupNo
Style SetsOptional list of Email Style blocks to apply to this blockText Block GroupNo
Custom CSS ClassesOptional space-separated list of CSS classes to be applied to the element. Intended for use with EmailCSS blocks.Text Block GroupNo
Text AlignmentHow text should be aligned inside the element.Text Block GroupNo
Background ColourThe colour of the background of this block.Colour Block GroupNo
Background PositionThe position of the background image in its container.Text Block GroupNo
Background SizeThe size of the background image in its container.Text Block GroupNo
Background RepeatHow the background image should repeat (or not) across its container.Text Block GroupNo
Background URIThe absolute URI of the background image for the block.Text Block GroupNo
PaddingThe padding around the element.Text Block GroupNo
Padding BottomThe padding below the element.Unit Value Block GroupNo
Padding LeftThe padding to the left of the element.Unit Value Block GroupNo
Padding RightThe padding to the right of the element.Unit Value Block GroupNo
Padding TopThe padding above the element.Unit Value Block GroupNo
BorderThe border around the element.Text Block GroupNo
Border TopThe border across the top of the element.Text Block GroupNo
Border RightThe border down the right of the element.Text Block GroupNo
Border BottomThe border across the bottom of the element.Text Block GroupNo
Border LeftThe border down the left of the element.Text Block GroupNo
Border RadiusApplies to background only. To override this see documentation.Text Block GroupNo
DirectionWhether the text direction is left-to-right or right-to-left.Text Block GroupNo
Full WidthIf true, make this block fill the full width of its containerBoolean Block GroupNo