Repeatable or Variable Content Blocks

Many of our pre-designed Themes templates include repeatable, hideable, or drag-and-drop content blocks. If you want to code your own template, use our  Template Language to add these content blocks to your code, as well as the additional option of variable content block.

These blocks help you to create a customized design using a pre-existing layout when working in the Design step of the Campaign Builder. Below, you'll learn how to work with each of these blocks.

If you want even more control over your design, you can use our Email Designer.

Repeat or Delete a Content Block

The repeat and delete controls for each content section show when hovering over the block. Click the plus (+) icon to add another content block and click the minus (-) icon to delete a block.

When you repeat or add a section, we'll replicate the default text and placeholder image each time. Images and content you've added won't be replicated.

If you delete a repeatable section, whatever content you entered into that section will also be deleted. The delete control will apply to entire content blocks, text and images. If you want to delete just the image portion of the content block, click on the remove button in the image area.

To remove the content from the text portion of the block, click the edit button to bring up the Editable Region window and delete all of the text.

When you repeat a content block, the original block can't be removed until the repeated section is deleted.

Work With Variable Content Blocks

Variable content blocks are available only in custom-coded templates that include our Template Language. Variable content blocks allow you to switch between a number of different content structures within your email and are noted with plus and minus signs so you can repeat and delete content blocks. They also include a drop-down menu that lets you to choose which type of content block to display.

Variable block

From the drop-down menu, choose the content structure you'd like to work with.

Drag-and-Drop Content Blocks

Repeatable and variable content blocks can be moved vertically within a template. After you repeat a content block, you'll see arrows in the top-left corner that you can click to drag the block up or down.

Drag-and-drop block

When you click on the arrow to move the block, you'll see a blue bar that can be dragged and positioned where you'd like the content block to move.

When dragging and dropping content blocks in your template, note that you can only drag and drop content blocks within the block enclosing it. For example, it wouldn't be possible to move a right column into the left column or above the body content area.

Hide or show a content block

Just like the repeat and delete controls, the hide and show controls are located below each content block. Click the slashed eye icon to hide a content block.

Show or hide block

The hide control applies to the entire content block, both image and text. When hiding content blocks, the hidden section won't disappear on the editor screen but will appear as grayed out instead.

Hidden block

You can preview and verify that the block has been hidden successfully by clicking the Preview and Test option and choosing Enter Preview Mode on the Design step of the Campaign Builder. When you send your campaign, the section you've hidden won't appear in your email.

If you've changed your mind and want to re-add the content block you've hidden, click the eye icon on the faded block and watch it reappear.

Was this article helpful?
Anything else we can do to improve our site?

Technical Support