Skip to main content
Debbie_Miles
Level 2
December 27, 2016
Question

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

  • December 27, 2016
  • 2 replies
  • 1974 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

SanfordWhiteman
Level 10
December 27, 2016

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
December 27, 2016

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