How to add and edit text blocks in emails
You will learn
Learn how to add, edit, and style a text block in an email using Klaviyo’s drag-and-drop email editor.
Add a text block
To add a text block to an email, open any email that uses the drag-and-drop editor (e.g., a flow email, campaign email, or email template). Then:
- Hover over the Text block in the Content sidebar.
- Click on the block and drag it into the canvas.
- When you’re happy with the block’s placement, release your cursor to drop the block in.
Edit text
You can edit text directly in the email canvas. (Note that other text fields, like text in button blocks and table blocks, must be edited in the block sidebar, rather than in the canvas.)
- Click any text block to select it.
- Double-click the selected text block to access the text editor, then begin typing.
Klaviyo's email editor uses the UTF-8 encoding standard, which means it supports Latin characters, emojis, double byte characters, and more.
To add copy in a language that uses a right-to-left (RTL) script (e.g., Hebrew), add the following code snippet to the source code of a text block or an HTML block at the top of your template:
<style type="text/css">
p, h1, h2, h3, h4, ol, li, ul { direction: rtl; }
</style> Styling text
The styling includes choosing your font, font size, color, etc.
Klaviyo recommends setting styles in the main Styles tab, rather than manually editing the styles for each text block. This reduces code weight, decreases the likelihood that your email will be clipped, and helps ensure your styles are consistent.
Add styles for all text in an email
- From the Content sidebar, click Styles.
- In the Text & Headings section, choose a font, font size, color, and other styles for your normal text, plus your headings (H1-H4). You can also choose a color and style for links in this tab.
- Click Done.
Manually add styles within a text block
Use this method sparingly, as it can increase the code weight of your email, which may lead to clipping. Always add your standard styles in the Styles tab, then make adjustments to individual words or phrases with the text block settings.
To add styles to content within a single text block, like bolding a single word or phrase:
- Open the text block editor.
- Highlight the text you’d like to style.
- Choose style options, like a font, size, or color.
Additional resources
- How to add custom fonts in email templates
Learn how to add new fonts to the Klaviyo email template editor so that your emails match your brand style. In this article, you’ll also learn about the tradeoffs when using custom fonts, and how to choose a font supported by the widest range of inboxes.
- Guide to the email template editor
Learn about Klaviyo’s drag-and-drop email template editor, including how to use template styles and configure each block type.
- How to insert an image into a text block
Learn how to add an image in a text block in a Klaviyo email. While in most cases you should insert images into your email templates using image blocks, there might be some cases when you'd prefer to have text and an image within the same block.
- How to insert personalization into text blocks
Learn how to add personalization to email templates by including things like a recipient’s first name, custom properties, an unsubscribe link, and more.