Closed leetomblin closed 10 years ago
Looks like your conditional comment is wrong. Try:
<!--[if !mso]> <div class="is-mobile">mobile content here</div> <![endif]-->
There's an article about this conditional tag here:
I actually tried the one you posted before, but doesn't seem to work in a few older outlook versions.
Oh ok I'll see what I can do. Here's another way of hiding elements without using conditional comments and a technique I use. https://www.campaignmonitor.com/forums/post/30296/#p30296
Fixed https://github.com/yargalot/Email-Builder/commit/96d81e4611b485d3a881186959c1465559f15119#diff-db0edc6462d0667ef460319dc707be55R46 @yargalot You may need to publish to npm manually
Yeh sure, Ill have a look at the publishing stuff now
Published
Me again (sorry) - another outlook conditional tag issue.
<!--[if !mso]><!--><div class="is-mobile">mobile content here</div><!--<![endif]-->
Is compiled to:
<!--[if !mso]><!--><div class="is-mobile" style="display: none; max-height: 0px; overflow: hidden;">mobile content here</div>--><!--<![endif]-->
Notice the HTML greater than.