How to Remove the Border Around a HubSpot Email Template


How to Remove the Border Around a HubSpot Email Template

HubSpot provides the ability to change common styling used in your email and landing page templates inside your account settings area. But what if you want to have an email template that looks different from your default templates?

In this case, you need to override your default settings with your template specific settings. So you can create a drag and drop email template in your HubSpot design tools area. Then add the code below inside the additional <head> markup box.

{% set email_body_border_css = "none" %}
{% set email_main_body_box_shadow_css = "none" %} 

These HubSpot variables are used in the email template to add a box shadow and border color. This will override your default settings and make your new template look different from the others.

Do you need help creating a custom HubSpot email template?

Learn more about my custom HubSpot email template development service.


Written by: Jake Lett
Jake Lett is a B2B marketing consultant with over 15 years of experience in the digital marketing industry. He specializes in SEO, HubSpot, and PPC campaign management. Jake has a proven track record of helping businesses increase their online visibility and drive more traffic, leads and sales. He is a Certified Google Ads Specialist and a Certified HubSpot Developer.

Topic:

Tags: , ,

Want to Get Email Updates of New Articles?

Join My Email Newsletter