SOLVED

Header image being cut off on both sides.

Go to solution
Christy_Rickett
Level 1

Header image being cut off on both sides.

Christy_Rickett_0-1621521802824.png

Does anyone have any suggestions on how to fix this issue in Marketo or if this is an end-user issue related to resolution?  We think it is related to resolution within Outlook but not positive. Any suggestions would be appreciated! 

Christy Ricketts
Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
SrilekhaVV
Level 2

Re: Header image being cut off on both sides.

Hi Christy,

Recently I have faced this issue, 

Please replace HTML Tag with this code

<html xmlns="http://www.w3.org/1999/xhtml" style="width: 100%;" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word">

 

also place this code in head section

 

<!--[if mso]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->

 Hope this helps resolve the issue.

 

thanks,

Srilekha

View solution in original post

2 REPLIES 2
Dave_Roberts
Level 10

Re: Header image being cut off on both sides.

Hey Christy,

 

Would you be able to post the code for that module section on your email (or the complete email code) here to review.

 

This could have something to do with resolution settings but it doesn't look like the elements on the image are oversized, it looks more like the background doesn't span far enough left/right and that makes me think there's a mismatch in the code somewhere. 

Usually when you use a background image like this in email the size of the image needs to be consistent when you swap it out or this kinda thing can happen and/or sometimes there's a setting that needs to be modified in a few places that's only getting updated in one (depending on the template you're using). Most templates use some kind of "Outlook conditional (only)" code to place images into the background and that can be tricky to maintain b/c it's so specific. 

 

Are you using a template from the Marketo EM Template Library or something custom? 

 

SrilekhaVV
Level 2

Re: Header image being cut off on both sides.

Hi Christy,

Recently I have faced this issue, 

Please replace HTML Tag with this code

<html xmlns="http://www.w3.org/1999/xhtml" style="width: 100%;" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word">

 

also place this code in head section

 

<!--[if mso]>
<xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
<![endif]-->

 Hope this helps resolve the issue.

 

thanks,

Srilekha