Center an image, CTA, or logo in an email

Last updated: March 4, 2020

Applies to:

Marketing Hub  Professional, Enterprise
CMS Hub  Professional
Legacy Marketing Hub Basic

To center an image, CTA, or logo module on your email template, add some inline styling to your email template in the design manager tool.

Please note: this method requires a basic understanding of HTML.

  • In your HubSpot account, navigate to Marketing > Email.
  • Hover over your email and click Edit
  • Click the Settings tab at the top of the content editor, then scroll down and click Advanced Options.
  • In the Template section, hover over the template thumbnail preview and click Edit templateThis action opens your email's template in the layout editor in a new tab or window.

  • Click on your logo, call to action, or image module to select it in the inspector.
  • In the Inline Styling field, add the following CSS: 

  • Click Publish changes to apply your changes. The updated module will now appear centered on your email.