Skip to main content

Customize Klaviyo Email Designs

Written by Wendy

In addition to adding product recommendations in your email and adding questions and answers to your follow-up email, you can use Klaviyo’s built-in customization settings to adjust the design of your email template.

Add or remove columns from your table

Select the table block, then open the Styles tab. Under the column settings, you can add or remove columns from the table.

Image showing how to add or remove columns from a table in the Klaviyo email editor using the Styles tab.

Add padding inside table cells

Adding padding creates space between the content and the edges of each table cell.

Select the table block, then open the Styles tab. Under Cell style, adjust the vertical padding to add space above and below the content, and the horizontal padding to add space on the left and right sides.

Image showing the vertical and horizontal padding controls under Cell style in the Styles tab of the Klaviyo table editor.

Change the cell content type

Select the table block, then open the Content tab. Under Cell selector, choose the cell you want to edit. Then select Text, Image, or HTML under Cell content.

Image showing how to select a table cell and change its content type to Text, Image, or HTML under Cell content in the Klaviyo email editor.

Add images inside text cells

This is useful if you want to display a product image above the product details within the same text area.

Before adding the image, make sure the table is set to Dynamic, with event.products entered as the Row collection and product entered as the Row alias. For the complete setup, refer to our guide on how to send product recommendations with Klaviyo emails.

Double-click inside the text area, then click the image icon in the formatting toolbar. In the Image URL field, enter:

{{ product.image }}

In the Alt text field, enter:

{{ product.title }}

Then click Apply.

GIF showing how to insert a recommended product image inside a dynamic text cell using {{ product.image }} as the image URL and {{ product.title }} as the alt text.

To check how the image and product details will appear in the email, click Preview in the upper-right corner of the email editor.

GIF showing how to use the Preview button in Klaviyo to check the appearance of a recommended product image and product details inside a dynamic table.

Change the block background color

Select the block you want to customize, then open the Styles tab. Click the + icon beside Block background color to expand the setting, then choose your preferred color.

  • Header bar block background color

GIF showing how to change the block background color of a header bar in the Klaviyo email editor.
  • Table block background color

GIF showing how to change the block background color of a table in the Klaviyo email editor.

Customize text formatting

Double-click inside the text cell, then select the text you want to edit. Use the formatting toolbar to change the font, size, style, color, and alignment.

Image showing the formatting toolbar used to customize the font, size, style, color, and alignment of selected text inside a Klaviyo table cell.

Customize your Buy Now button

1. Change the Buy Now text color

Select the Buy Now text, then click the text color icon in the formatting toolbar and choose your preferred color.

GIF showing how to select the Buy Now text and use the text color option in Klaviyo’s formatting toolbar to change its color.

2. Create a button-style Buy Now link using HTML

To display the Buy Now link as a button, select the table block and open the Content tab. Under Cell selector, choose the cell containing the product details, then select HTML under Cell content.

Note: Changing the cell content type from Text to HTML replaces the existing content in that cell. The code below includes the product title, price, and Buy Now button so they continue to appear in the email.

Paste the following code into the HTML cell:

<div style="text-align: center; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; color: #4A2A1A;">
<div style="font-size: 18px; font-weight: bold; margin-bottom: 8px;">
{{ product.title }}
</div>

<div style="font-size: 16px; margin-bottom: 16px;">
${{ product.price.amount }}
</div>

<a href="{{ product.url }}"
style="display: inline-block; font-weight: bold; font-size: 15px; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; color: #ffffff; background-color: #4A2A1A; padding: 0.5rem 1.2rem; border-radius: 2rem; text-decoration: none;">
Buy Now
</a>
</div>

To change the font used for the product details and button, edit the following part of the code:

font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;

To change the button text color, edit:

color: #ffffff;

To change the button background color, edit:

background-color: #4A2A1A;

Replace the existing color codes with your preferred colors.

Customize your Questions and Answers section

Using contrasting background colors can help the questions and answers section stand out and make it easier for customers to review their quiz responses.

Before adding the custom design, make sure the table is set to Dynamic, with event.answers as the Row collection and answer as the Row alias. For the complete setup, refer to our guide on how to send quiz questions and answers in Klaviyo emails.

Select the table block and open the Content tab. Under Cell selector, choose the cell containing the quiz questions and answers, then select HTML under Cell content.

Note: Changing the cell content type from Text to HTML replaces the existing content in that cell. The code below already includes the question and answer properties.

GIF showing how to select a dynamic questions and answers table cell, change its Cell content type to HTML, and paste custom code to create a styled question and answer section in Klaviyo.

Paste the following code into the HTML cell:

<div style="border: 1px solid #d8c2aa; margin-bottom: 1rem; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;">
<div style="background-color: #4A2A1A; padding: 1rem; color: #ffffff;">
<span style="font-weight: bold;">Question:</span>
{{ answer.question }}
</div>

<div style="background-color: #FFF3D6; padding: 1rem; color: #4A2A1A;">
<span style="font-weight: bold;">Answer:</span>
{{ answer.answer }}
</div>
</div>

To change the question background color, edit:

background-color: #4A2A1A;

To change the answer background color, edit:

background-color: #FFF3D6;

Replace the existing color codes with your preferred colors.

These are some of the ways you can customize your quiz results and follow-up emails in Klaviyo.

Did this answer your question?