You will learn

Learn how CSS optimization helps reduce email size and the risk of clipping, and when to turn it off for inbox compatibility.

Why CSS optimization matters

When an email is clipped, part of the message is hidden until the recipient opens the full message. CSS optimization helps reduce repeated styling code and keep the email smaller, but it does not guarantee that the email will avoid clipping. Learn how to reduce an email’s size.

About CSS optimization in Klaviyo

With CSS optimization enabled, Klaviyo uses embedded styles to apply the design settings you choose for your email template and its blocks. Embedded styles let multiple elements share CSS rules, which helps reduce repeated styling code.

Do inbox providers allow for embedded styles?

The largest inbox providers (Gmail, Yahoo, Apple, Outlook, AOL) all accept and render embedded styles.

If you find a large number of your customers are using the inbox providers below or another provider that does not render embedded styles, consider unchecking the Enable embedded styles box so your emails look as you designed them.

Country/Region

Common Inbox Providers that Do Not Support Embedded Styles

Australia

telstra.com.au, telstra.com, bigpond.net.au, bigpond.com

Russia

mail.ru

Germany/EU

gmx.com, t-online.de

Brazil

bol.com

Turn off CSS optimization

Turning off CSS optimization switches to inline CSS, which applies styles directly to individual elements. This account-wide setting affects email sends, exports, and previews for existing and future messages. You need permission to edit account settings to change it.

Inline CSS can increase email size and the risk of clipping, so test your emails before you send them. After saving this setting, check both formatting and clipping in the inbox providers your customers use.

  1. Select your organization name in the bottom left corner.
  2. Click Settings.
  3. Select the Email tab.
  4. Navigate to Sender preferences.
  5. In the CSS optimization section, uncheck Enable embedded styles.
  6. Click Save.
CSS optimization checkbox
CSS optimization checkbox

Additional resources

Was this article helpful?
Use this form only for article feedback. Learn how to contact support.

Explore more from Klaviyo

Community
Connect with peers, partners, and Klaviyo experts to find inspiration, share insights, and get answers to all of your questions.
Partners
Hire a Klaviyo-certified expert to help you with a specific task, or for ongoing marketing management.
Support

Access support through your account.

Email support (free trial and paid accounts) Available 24/7

Chat/virtual assistance
Availability varies by location and plan type