Skip to main content

Social

Overview

Social displays calls-to-action for various social networks with their associated logo. You can add social networks with the mj-social-element tag.


Parameters

ParameterParameterValid BlocksRequired
ChildrenChildren componentSocial 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
Icon HeightThe height of the iconUnit Value Block GroupNo
Icon SizeThe size (width and height) of the iconUnit Value Block GroupNo
Icon PaddingThe padding around the iconText Block GroupNo
Text ColourThe colour of the text in this block. Defaults to #333333 (dark grey)Colour Block GroupNo
Text SizeThe size of the text in this block.Unit Value Block GroupNo
FontThe list of preferred fonts for this 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
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
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
Text PaddingThe padding around the text.Text Block GroupNo
Inner PaddingThe padding around the inside of the buttonText Block GroupNo
Border RadiusThe rounding radius of the corners of the element.Text Block GroupNo
Horizontal AlignmentHow the block should be aligned horizontally within its container.Text Block GroupNo
Container Background ColourThe colour of the background of the container.Colour Block GroupNo
ModeWhether the social elements should be align vertically or horizontally.Text Block GroupNo