Email Designer Elements

Overview

Elements hold the content of the email. Besides the Text Element that exists in the subject by default, Elements cannot be placed in the subject and must be placed in the body.

There are three Element types:

Text

Text Elements can hold both static text and dynamic attribute values. A Text Element exists in the subject by default, and additional Text Elements can be added to the body.

After a Text Element has been dropped in the template, the Text Element dialog box appears.

test element dialog

Text can be added and formatted within the Text Element dialog box.

Element Icon Description
Font Formatting Icons Font formatting icons Select text and click bold icon (B), italic icon (I), or underline icon (U).
Strike-through Strik-through icon Select text and click strike-through icon to place a line through the selected text.
Sub and Superscript Sub and Superscript icons Select the text to be modified and click the Superscript or Subscript button to apply formatting.
Font Family font family selector

Select a font family from the drop-down. The menu contains all supported fonts.

The user's computer and/or email client will need the same fonts for the email to render properly.

Font Size font size selector Select a font size using the drop-down. All font sizes are defined in points (pt).
Font Color font color selector Select text and use the drop-down to select a font color.
Highlight highlight icon Choose a color to highlight selected text.
Attributes Attribute selector Use filter and/or drop-down to add user or main-document attributes to the email body.
Alignment font alignment icons Select text and choose Align Left, Align Center, Align Right or Justify to apply to the text.
Bullets or Numbered List list icons Select text and click the bulleted list or ordered list icon to apply formatting.
Horizontal Line horizontal line icon Place your cursor in the editor and click horizontal line icon to add it to the template.
Indent and Outdent Indent and Outdent icons Select the text to indent or out-dent, or place your cursor on the line that needs to be indented/out-dented.
Undo and Redo Undo and Redo icons Click the Undo button to undo the last action. Click the Redo button to redo an action you've undone.
Eraser Clear  button Select text and click the eraser icon to remove text formatting.

Clicking OK will save the contents of the Text Element dialog box. Reopen the dialog box by double-clicking on the Text Element within the Template Flow.

Attribute values can also be added to Text Elements. For more information on adding attribute values, see the topic Email Designer and Attribute Values.


When a Text Element is selected in the Template Flow, the following properties can be modified in the Properties pane:

Property Description

Font

The font of all text within the Text Element.

If multiple fonts are used within the Text Element, an “*” will appear in the Font drop-down. Selecting a font will overwrite all font modifications that were made within the Text Element dialog box.

Size

The size of all text within the Text Element.

If multiple sizes are used within the Text Element, an “*” will appear in the Size drop-down. Selecting a size will overwrite all size modifications that were made within the Text Element dialog box.

Options

Options include Font Color, Bold, Italics, and Clear Formatting. Changing any one of these options will affect all text within the Text Element.

Line Spacing

The line spacing between all lines in the Text Element.

If multiple line spacing settings are used within the Text Element, an “*” will appear in the Line spacing drop-down. Selecting a Line spacing setting will overwrite all line spacing modifications that were made within the Text Element dialog box.

Padding

The space between the Text Element and other Elements (when defined for Top and Bottom) and between the Text Element and the margins of the email (when defined for Left or Right).

If the Text is inside a Table cell, margins will determine the distance between the Element and the borders of the cell.


Images

Image Elements can reference images stored in the File Manager, images stored in Commerce File Attachment attributes, or external images. Images can be added to the Body.






Tables

Table Elements can be used to organize content and present it in a logical way to the reader of the email. Tables can be placed in the Body.

When a Table Element is added to the template, by default the Table will have one row and one column. Additional rows and columns can be added by clicking the Add Row or Add Column icons (Add icon), located within the bottommost row and rightmost column, respectively, or by modifying the Rows and Columns fields in the Properties pane. Both rows and columns can be rearranged within a Table via drag and drop.

By default, each cell in a Table will contain a Text Element. That Text Element can be modified or removed from the cell, and Text and Image Elements can be added to the cell using drag and drop. Once content has been added to a Text or Image Element within the Table, the content will be visible in the Table. You can drag and drop content from one Text or Image Element in the Table to another cell or to another Table in the Template Flow.

Tables cannot be nested; that is, one Table cannot be inside another.

Table layout

A common use of Tables is to recreate the Line Item Grid or a portion of the Line Item Grid by creating a Loop on a row to loop over a set of attribute values. For more information on Loops, see the topic Email Designer and Loops and Filters.

Table Properties

When a Table is selected in the Template Flow, the following properties can be modified in the Properties pane:

Property Description

Rows

The number of rows in the Table. The default is 1.

Columns

The number of columns in the Table. The default is 1.

Background Color

The background color of all cells within the Table.

Applies to every cell in the Table.

Borders

The color and width (in pixels) of borders within the Table.

Padding

The space between the borders of the cells within the Table and the Elements within the cells.

Click the Condition button ( Condition button ) in the Dynamic Content Bar to add a Condition to the Table. For more information, see the topic Email Designer and Conditions.
Any changes made at the Table level will also apply to sub-Elements, like Cell, Column, Row, Background Color, and Border selection.

  • Click the Add icon icon to add a Column to the Table.

  • When a Column is selected, its border and Column header are highlighted blue.
  • Columns can be individually dragged and dropped by clicking a Column header bar, dragging it to a new location within the same Table, and releasing the Column.
  • Remove rows by selecting the row and clicking Delete icon in the Properties pane.
  • When a column is selected in the Template Flow, the Clear Column button ( Clear button ) will appear in the Dynamic Content Bar. Clicking Clear Column will clear all contents from all cells in the column.
    column dialog


When a Column is selected in the Template Flow, the following properties can be modified in the Properties pane:

Property Description

Width

The width of the Table column, in inches, millimeters, centimeters, and pixels.

All columns in a Table must use the same units for width. Changes to the width unit for a single column will apply to all columns in the same Table.

Background Color

The background color of all cells within the column.

Applies to every cell in the column.

Borders

The color and width (in pixels) of the column’s borders.

Adjacent borders on the same level will overwrite each other. For example, if you edit the border of column A, it will change the left border of column B, because they are the same.

Padding

The space between the borders of the cells within the column and the Elements within the cells.

Click the Condition button ( condition button ) in the Dynamic Content Bar to add a Condition to the Column. For more information, see the topic Email Designer and Conditions.
Any changes will also apply to sub-Elements (for example, Cell Background, Color/Border selection, intersecting Row Background Color, Border selections for Cells in that Column).

  • Click the Add icon icon to add a Row to the Table.

  • When a Row is selected, its border and Row number is highlighted blue.
  • Rows can be individually dragged & dropped by clicking a Row header bar, dragging it to a new location within the same Table, and releasing the Row.
  • Remove rows by selecting the row and clicking delete icon in the Properties pane.
  • When a row is selected in the Template Flow, the Clear Row button ( Clear  button) will appear in the Dynamic Content Bar. Clicking Clear Row will clear all contents from all cells in the row.

    row properties


When a row is selected in the Template Flow, the following properties can be modified in the Properties pane:

Property Description

Background Color

The background color of all cells within the row.

Applies to every cell in the row.

Borders

The color and width (in pixels) of the row’s borders.

Adjacent borders on the same level will overwrite each other. For example, if you edit the bottom border of row 1, it will change the top border of row 2, because they are the same.

Padding

The space between the borders of the cells within the row and the Elements within the cells.

Click the Condition button ( condition button ) in the Dynamic Content Bar to add a Condition to the Row. For more information, see the topic Email Designer and Conditions.
If desired, click Loop button to add Table Row Looping. For more information, see the topic Email Designer and Loops and Filters.
Any changes will also apply to sub-Elements (for example, Cell Background, Color/Border selection, intersecting Column Background Color, Border selections for Cells in that Row).

  • When a Cell is selected, its border is highlighted blue. Elements within a Cell are indicated by an individual highlighted blue border.
  • When a cell is selected in the Template Flow, the Clear Cell button ( Clear button ) will appear in the Dynamic Content Bar. Clicking Clear Cell will clear all contents from the cell.

Cell Properties

When a cell is selected in the Template Flow, the following properties can be modified in the Properties pane:

Property Description

Background Color

The background color of the cell.

Borders

The color and width (in pixels) of the cell’s borders.

Adjacent borders on the same level will overwrite each other.

Padding

The space between the borders of the cell and the Elements within the cell.

The Background Color, Borders, and Padding properties that were defined most recently will take precedence over other Background Color, Borders, and Padding settings to the Table, a row, a column, or a cell that overlap with the Table, row, column, or cell that is being modified.

Working with Cells

When a cell is selected in the Template Flow, the Merge Cell button ( merge cell button ) will appear in the Dynamic Content Bar. Clicking Merge Cell will bring up the Merge Cell overlay.

Merge Cell overlay

Click the cell(s) to merge with the selected cell. Cells that will be merged will be light-blue and have a merge cell icon on them.

merged cells

Click Merge to merge the cells.

When merging cells, only the upper-leftmost cell’s content will be retained in the merged cell. All Elements in the other cells that are merged will be deleted.
A row that contains a merged cell cannot have a Loop or a Condition applied to it.

A column that contains a merged cell cannot have a Condition applied to it.
Merged cells must form a rectangle. For example, two cells in row one cannot merge with one cell in row two.

When a cell that has been merged is selected in the Template Flow, the Split Cell button ( split cell button ) will appear in the Dynamic Content Bar. Clicking Split Cell will split the selected cells that were previously merged.


Related Topics

Related Topics Link IconSee Also