Someone showed me something amazing yesterday that I had no idea you could do in Marketo. I'm guessing I'm not the only one, so I thought I'd share.
If you create an editable section in a template and then you want to not use it, it leaves behind a blank white space in your email. This can be really irritating, as it throws off your email design and no one really wants to create a new template every time you leave a section blank.
So here's the trick he showed me. Create a new snippet that contains only a blank HTML comment in the HTML source editor. You can leave the text version blank.
Then go into your email and replace the editable section you no longer need with this snippet. Bam, section gone with no remaining blank white line in the middle of your email.
I think Marketo may have pre-built this snippet into new instances; we just launched in June and I have a "blank snippet" which basically has a 1px space hard coded (I think the code you have above is better practice though!).
Oh neat, I didn't know we were doing that.
This is great news! However, I tried to use it and it doesn't take up the space across all email clients. Is there a trick to it?
It is likely that your email template set a min height for the section, making it stay even when it's empty.
You need to have the template developer look into this.
I have created a new snippet with a blank comment <!-- --> and this is what it looks like (even after clicking preview draft):
Why is there no blank/removed space?
type this HTML mode, not in wysiwyg mode.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.