Marketing Campaign emails with HTML

Im trying to add my own custom HTML to a Email template for campaigns, I have found online that the editor basically strips the CSS styling which then stops most of it from working as I would expect i.e. aligning a header or logo to the centre.

Is there an easy solution to stopping this from happening?

Can see loads of old posts just no 2025 posts, thought there may be a fix or a solution about?

Hello Grant,

yes, some HTML is stripped away.
Which editor are you using?
TinyMCE or Direct HTML?
Which HTML elements are stripped away?

There are some issues around this topic. Do you find the issue your describing already listed?

I discovered that switching to pure HTML works well, which is great. However, I’ve noticed that some CSS is still being stripped out, which is a bit frustrating. I’ll continue tinkering with the HTML and CSS—I’m confident I can either pinpoint what’s causing the issue or find a workaround.

This is pretty much the deciding factor in whether we go ahead with using the Marketing side of the CRM. The main problem is that the logo, which should be center-aligned on mobile, is appearing left-aligned instead.

I’ve tested it directly on a mobile device, so I know it should be working as expected.

Cheers,
Grant

How are you doing this?
Depending on the mobile client, maybe that works out of the box with TinyMCE already?

Here, I’m centering an image as well:

I am using Direct HTML, it now works as I have tweaked the HTML to less CSS. Basically the email is very basic, black bar at the top with the logo in the center, followed by some text.

It will likely be that layout for all future emails, this is going to be used for Events which people subscribe to so it will have a lot more data in the email.

One other thing, don’t suppose you know the short code to unsubscribe which I want to add at the bottom.

Cheers

The unsubscribe code is a tracker that you can generate, see this video:

Whilst you’re creating the campaign, it’s in the wizard:


unfortunately with a bug, that’s why I create it afterwards from the detail view.