Skip to main content

Text

Overview

Allows you to display text in your email.


Parameters

ParameterParameterValid BlocksRequired
ContentContentText 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 ColourThe colour of the text in this block. Defaults to #000000 (black)Colour Block GroupNo
FontThe list of preferred fonts for this element.Text Block GroupNo
Text SizeThe size of the text in this block.Unit Value Block GroupNo
Text AlignmentHow text should be aligned inside the element.Text Block GroupNo
Font StyleWhether the font should be normal (upright) or italicised.Text Block GroupNo
Font WeightHow light or bold the text should be.Text Block GroupNo
Letter SpacingThe spacing between letters.Unit Value Block GroupNo
Line HeightThe height of each line of text inside the element.Text Block GroupNo
Text DecorationWhether the text should be underlined, overlined, etc.Text Block GroupNo
Text TransformWhether the text should be underlined, overlined, etc.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
Container Background ColourThe colour of the background of the container.Colour Block GroupNo
HeightThe height of the element.Unit Value Block GroupNo