Jan 30, 20259:10 AM - edited Jan 30, 20259:12 AM
Contributor | Gold Partner
Modify or Inject Custom CSS into Blog Notification Emails (Mktg Starter)
SOLVE
Short: Anyone know how I can inject custom CSS into the HubSpot provided Blog Notification emails in Marketing Hub Starter? I've tried everything I can think of, but none of it works.
Long: Many of our client's blogs feature an embedded video at the top of the blog page (in what is the summary). When the blog post email notifications are sent, there is a large empty space under each featured image because the container (<div>) that contains the embedded video on the post is rendered empty in the email (as it should be).
I've tried about half a dozen different things to add custom CSS to remove/hide this element, but it always gets stripped out in the emails sent. For example, I can modify the email template to add a code section where I can place a <style>...</style> section, but it warns that most email clients don't support internal CSS, and they don't.
BTW, Inline Styles won't work here because I would need to add to them to the blog post content, and that would impact the blog post, not just the email.
Any ideas on how I can add this CSS to these emails?