Skip to content

Button

Overview

Button Displays a customizable button.


Parameters

ParameterParameterValid BlocksRequired
Content Content Text Block Group No
Style Sets Optional list of Email Style blocks to apply to this block 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
Background Colour The background colour of the button. Colour 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
Mouse-over tooltip (title) Displayed on mouse-over and used by accessibility software. Text Block Group No
Text Colour The colour of the text in this block. Defaults to #ffffff (white) Colour Block Group No
Text Size The size of the text in this block. Unit Value Block Group No
Font The list of preferred fonts for this element. Text 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
Text Alignment How text should be aligned 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
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
Height The height of the button. 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
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 Left The border down the left 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 Radius The rounding radius of the corners of the element. Text Block Group No
Container Background Colour The colour of the background of the container. Colour Block Group No
Horizontal Alignment How the block should be aligned horizontally within its container. Text Block Group No
Vertical Alignment Vertical position of the element within its container. Text Block Group No