Stop Mailchimp from mangling CSS / HTML in templates

Viewed 7

tldr: Mailchimp is processing and 'fixing' my html template and ruining it in Gmail in browsers. Help!

I have an html template that gets updated by API after generating in my CMS. It works great in all browers, tests perfectly in Litmus for gmail, works with my previous email sender.. and migrating to Mailchimp, some kind of processing happens to it.

It reorders where an inline declaration appears, and attempts to add a bunch of annoying inline styles I don't want ( I already have inline styles as well).

It looks like they used to allow you to switch 'inlining' tools on or off, but you can't turn it off anymore. That's right: you can't just have Mailchimp send off the html you provide.

If I upload (paste) the correct html directly into a template it still fails & changs, so there isn't an issue with the api call or charset etc as far as Ic an tell. Just hoping someone out there has a tip or clue

It should look like this

https://www.dropbox.com/s/k5qeh4cl7n3lwol/Screen%20Shot%202022-09-21%20at%201.48.46%20PM.png?dl=0

but it looks like this:

https://www.dropbox.com/s/c9304uxw4yxb0o7/Screen%20Shot%202022-09-21%20at%201.46.57%20PM.png?dl=0

0 Answers
Related