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
Parameter | Parameter | Valid Blocks | Required |
---|---|---|---|
Children | Children component | Social Component 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 |
Icon Height | The height of the icon | Unit Value Block Group | No |
Icon Size | The size (width and height) of the icon | Unit Value Block Group | No |
Icon Padding | The padding around the icon | Text Block Group | No |
Text Colour | The colour of the text in this block. Defaults to #333333 (dark grey) | 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 |
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 |
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 |
Text Padding | The padding around the text. | Text Block Group | No |
Inner Padding | The padding around the inside of the button | Text Block Group | No |
Border Radius | The rounding radius of the corners of the element. | Text Block Group | No |
Horizontal Alignment | How the block should be aligned horizontally within its container. | Text Block Group | No |
Container Background Colour | The colour of the background of the container. | Colour Block Group | No |
Mode | Whether the social elements should be align vertically or horizontally. | Text Block Group | No |