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.

About the Author

Jake Lett is a results-driven Detroit based B2B marketing consultant with 15+ years of hands-on experience managing SEO and PPC campaigns across manufacturing, SaaS, and professional services industries. He’s a Certified Google Ads Specialist and HubSpot CMS Developer who has personally managed budgets ranging from $500 to over $10,000/month.

Jake specializes in helping small businesses and solo marketers get more from lean ad budgets—using practical strategies that drive qualified leads, not just traffic. He shares real-world lessons on his blog, YouTube channel, and in his published books on digital marketing.



Topic:

Related posts

Tags: , ,

Want to Get Email Updates of New Articles?

Join My Email Newsletter