Skip to content

Center an image, CTA, or logo in an email or page template

Last updated: November 26, 2021

Applies to:

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

To center an image, CTA, or logo module on your page, blog, or email, add some inline styling to your template in the design manager tool. These instructions apply to layout templates created in the design manager tool.

If you're using a template that includes a drag and drop area, you can center module alignment within the page editor.

Please note:

  • Within your layout template, click the 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 in the upper right to apply your changes to this template.
  • Then, return to the content editor and refresh refresh your web browser to populate the changes to your template. Your content in this module will now be centered on your page, blog, or email.


Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.