Outlook email shows both mobile image and desktop image when i only want desktop | Community
Skip to main content
Level 2
April 7, 2026
Question

Outlook email shows both mobile image and desktop image when i only want desktop

  • April 7, 2026
  • 0 replies
  • 18 views

Hi all,

I'm building an email template module with two images (one for desktop, one for mobile) using the standard CSS media query show/hide approach. It works perfectly in browsers, but Outlook desktop renders both images stacked.

I've done some digging and it seems like Marketo's processing pipeline is stripping the mechanisms I'd normally use to hide content from Outlook (inline styles on image divs, conditional comments in the body). By the time the email reaches Outlook, there's nothing left to tell it to hide the mobile image.

Things I've tried:

  1. <!--[if !mso]><!--> around mobile mktoImg div
  2. Inline mso-hide:all; display:none on the mktoImg div
  3. Separate <tr> rows with mso-hide:all on the <td>
  4. Two separate mktoModule tables — Marketo merged them back into one
  5. MSO conditional <style> in <head> — Outlook doesn't apply <style> block rules to suppress images
  6. CSS width:0 !important; height:0 !important on .responsive-hero-image-mobile img — Outlook ignores it

Has anyone successfully implemented a desktop/mobile image swap in a Marketo template that actually works in Outlook desktop? If so, how did you approach it?

Any help appreciated, thanks!