How do I apply a background image AND use a snippet?

Debbie_Miles
Level 2

How do I apply a background image AND use a snippet?

In our email header, we want the header image to extend into the logo area and have the snippets (transparent logos) overlay the background image. We currently have the logo area set as a snippet for the logos on a white background. I tried to apply a background image with html, but when I click "replace with snippet" on an email, the snippet completely overrides the code and the bg image disappears.

Sample of what we have vs what we want attached. Current on left (white bg) and future on right (extended image bg). Please advise.

Tags (1)
2 REPLIES 2
SanfordWhiteman
Level 10 - Community Moderator

Re: How do I apply a background image AND use a snippet?

Hmm. A snippet and email-level HTML can't coexist as/in the same element.

I'd suggest perhaps a mktoString variable or text {{my.token}} instead instead for the background URL.

Justin_Cooperm2
Level 10

Re: How do I apply a background image AND use a snippet?

Using an image variable would also be a good solution for this. You can learn about our variable types here: https://docs.marketo.com/display/DOCS/Email+Template+Syntax