Skip to content

Email Style

Overview

The email style block allows you to define a set of re-usable styles to be added inline to blocks based on their block type or applied directly to individual blocks.


Parameters

ParameterParameterValid BlocksRequired
Apply as default to Select the list of blocks you want to apply these styles to by default Text Block Group No
Custom CSS Classes Optional space-separated list of CSS classes to be applied to the element. Intended for use with EmailCSS blocks. Text Block Group No
Wrapped Icon Alt Text The alt text to display on the icon when the accordion is wrapped. Text Block Group No
Wrapped Icon URI The URI of the icon to display when the accordion is wrapped. Text Block Group No
Unwrapped Icon Alt Text The alt text to display on the icon when the accordion is unwrapped. Text Block Group No
Unwrapped Icon URI The URI of the icon to display when the accordion is unwrapped. Text Block Group No
Left Icon The icon to the left of the main image. Text Block Group No
Right Icon The icon to the right of the main image. Text Block Group No
Thumbnail Border The border around the thumbnails. Text Block Group No
Thumbnail Border Radius The rounding radius of the corners of the element. Text Block Group No
Thumbnail Selected Border Colour The colour of the border around the thumbnails. Defaults to #000000 (black) Colour Block Group No
Thumbnail Hover Border Colour The colour of the border around the thumbnails. Defaults to #000000 (black) Colour Block Group No
Thumbnail Width The width of the thumbnails. Unit Value Block Group No
Border Colour The colour of the border. Defaults to #000000 (black) Colour Block Group No
Border Style Whether the border is a solid line, dashed, or dotted. Text Block Group No
Border Width The width of the border. Default: 4px Unit Value Block Group No
Fluid on Mobile If true, the image will always be full-width on mobile, even if an image width is set. Boolean Block Group No
Mode Whether the height should be fixed and based on the Height parameter, or fluid and based on the size of its contents. Text Block Group No
Icon Alignment The vertical alignment of the icon. Text Block Group No
Icon Padding The padding around the icon Text Block Group No
Icon Position Whether to display the icon on the left or right Text Block Group No
Icon Size The size (width and height) of the icon Unit Value Block Group No
Icon Height The height of the icon. Unit Value Block Group No
Icon Width The width of the icon Unit Value Block Group No
Image description Used by screen readers and e-mail clients with image downloads switched off. Text Block Group No
Icon Alignment The alignment of the menu icon. Text Block Group No
Close Icon Character The character code of the character to be used for the close menu icon. Defaults to ⊗ (8855). Text Block Group No
Open Icon Character The character code of the character to be used for the open menu icon. Defaults to ☰ (9776). Text Block Group No
Icon Colour The colour of the hamburger icon. Defaults to #000000 (black) Colour Block Group No
Icon Font The list of preferred fonts for the mobile menu icon. Text Block Group No
Icon Size The size of the icon. Unit Value Block Group No
Icon Line Height The line height to use for the menu icon. Text Block Group No
Menu Icon Padding The padding around the menu icon. Text Block Group No
Menu Icon Padding Bottom The padding below the menu icon. Unit Value Block Group No
Menu Icon Padding Left The padding to the left of the menu icon. Unit Value Block Group No
Menu Icon Padding Right The padding to the right of the menu icon. Unit Value Block Group No
Menu Icon Padding Top The padding above the menu icon. Unit Value Block Group No
Icon Decoration Additional decoration to apply to the menu icon. Text Block Group No
Icon Transform An optional text transformation to apply the menu icon. Text Block Group No
Base URL The base URL for the items in the navigation. Text Block Group No
Collapse Menu on Mobile If true, show the navbar as a collapsable menu on mobile. Boolean Block Group No
Mouse-over tooltip (title) Displayed on mouse-over and used by accessibility software. Text Block Group No
On-Click URI The link to take the user to when they click on this element. Text Block Group No
Rel The rel of the element. Text Block Group No
Target The target for the link. Defaults to 'external-link'. Text Block Group No
Cell Padding The space between the edges of table cells and their content Unit Value Block Group No
Cell Spacing The space between the edges of table cells and their surrounding cells Unit Value Block Group No
Table Layout How the table should be laid out. Text Block Group No
Font The list of preferred fonts for this element. Text Block Group No
Text Colour The colour of the text in this block. Defaults to #000000 (black) Colour Block Group No
Text Size The size of the text in this block. Unit Value Block Group No
Font Style Whether the font should be normal (upright) or italicised. Text Block Group No
Font Weight How light or bold the text should be. Text Block Group No
Letter Spacing The spacing between letters. Unit Value Block Group No
Line Height The height of each line of text inside the element. Text Block Group No
Text Decoration Whether the text should be underlined, overlined, etc. Text Block Group No
Text Transform Whether the text should be underlined, overlined, etc. Text Block Group No
Text Alignment How text should be aligned inside the element. Text Block Group No
Height Unit Value Block Group No
Width The width of the element. Unit Value Block Group No
Padding The padding around the element. Text Block Group No
Padding Bottom The padding below the element. Unit Value Block Group No
Padding Left The padding to the left of the element. Unit Value Block Group No
Padding Right The padding to the right of the element. Unit Value Block Group No
Padding Top The padding above the element. Unit Value Block Group No
Inner Padding The padding around the inside of the button Text Block Group No
Text Padding The padding around the text. Text Block Group No
Border The border around the element. Text Block Group No
Border Top The border across the top of the element. Text Block Group No
Border Right The border down the right of the element. Text Block Group No
Border Bottom The border across the bottom of the element. Text Block Group No
Border Left The border down the left of the element. Text Block Group No
Border Radius The rounding radius of the corners of the element. Text Block Group No
Inner Border The inner border around the element. Text Block Group No
Inner Border Top The inner border across the top of the element. Text Block Group No
Inner Border Right The inner border down the right of the element. Text Block Group No
Inner Border Bottom The inner border across the bottom of the element. Text Block Group No
Inner Border Left The inner border down the left of the element. Text Block Group No
Inner Border Radius The rounding radius of the corners of the element. Text Block Group No
Background Colour The colour of the background of this block. Colour Block Group No
Background URI The absolute URI of the background image for the block. Text Block Group No
Background Size The size of the background image in its container. Text Block Group No
Background Position The position of the background image in its container. Text Block Group No
Background Repeat How the background image should repeat (or not) across its container. Text Block Group No
Container Background Colour The colour of the background of the container. Colour Block Group No
Inner Background Colour The inner background colour of the column. Requires a padding to show. Colour Block Group No
Direction Whether the text direction is left-to-right or right-to-left. Text Block Group No
Full Width If true, make this block fill the full width of its container Boolean Block Group No
Horizontal Alignment How the block should be aligned horizontally within its container. Text Block Group No