Marketo: Getting Snippet text to listen to media query in email template | Community
Skip to main content
New Participant
November 5, 2023
Solved

Marketo: Getting Snippet text to listen to media query in email template

  • November 5, 2023
  • 1 reply
  • 1062 views

We create snippets from mobile in our template for sections we use frequently e.g. a mobile app snippet. This is great as it allows us to update it everywhere if it becomes out of date.

 

I usually do this by mostly using the code build in our email template, which has worked fine but we have a media query in the template telling paragraph text to increase in size on mobile. Is it possible to get the snippet to listen to the template media query? I have tried adding in style tags to the snippet but marketo seems to automatically remove them. 

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

@ashlee_fm , add in a class tag and set the class to be whatever you have in your media query.

1 reply

Jo_Pitts1
Jo_Pitts1Accepted solution
Community Manager
November 5, 2023

@ashlee_fm , add in a class tag and set the class to be whatever you have in your media query.