Skip to content

Add CSS to the head section of an email template

Last updated: January 18, 2023

Applies to:

Marketing Hub Professional, Enterprise
Legacy Marketing Hub Basic

When you're designing an HTML template to use in the classic email editor, you can style your email by including CSS in the head section of your email.

Learn more about styling your template in the inspector.

Please note: this method requires a basic understanding of HTML. Custom HTML is not supported in the drag and drop email editor.

  • In your HubSpot account, navigate to Marketing > Files and Templates > Design Tools.
  • Find and click on the name the email template you wish to modify.
  • Click the Edit dropdown menu at the top and select Edit head.
<style type="text/css" data-hse-inline-css="true">
td {
font-family: Arial, sans-serif;
  • Click Publish changes to take your changes live.
Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.