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.
In this article:
- Repeat or Delete a Content Block
- Work With Variable Content Blocks
- Drag and Drop Content Blocks
- Hide or show a content block
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.
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. These content blocks have arrows in the top-left corner that you can click to drag the block up or down.
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.
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.
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.
The delete and hide controls don't offer the same functionality in our Template Editor. In fact, you can't actually remove anything while working in the Template Editor. If you need to make layout changes, we suggest you work in the Campaign Builder instead.
|Was this article helpful?||
|What can we do to improve your experience with articles like this?|
At this time, we are unable to reply to any responses, but we'll use this information to keep the site up-to-date.