
2
Targeting for Yahoo! Mail
I've been trying to get this method of targeting Yahoo! Mail to work but I haven't had any success:
<style>
@media screen yahoo {
.yahoo {
padding: 20px 0 0 0 !important;
}
}
</style>
Anyone have experience with this? Is this the correct way to target Yahoo?
HI Benjamin,
you can try to address yahoo slightly different:
@media yahoo {
.your_css
}
agreed
we use in our templates
@media yahoo {
/*insert CSS*/
}
Hey! What's up, Benjamin :)
I've just tested yahoo media query and seems to work just fine.
It's even better that you've included "screen" because otherwise it won't work in Internet Explorer.
It might be a bit more optimised without td. or div. in front of the classes.
Steve
Email Dev
MailBakery
try this
https://www.htmlemailcheck.com/knowledge-base/target-yahoo-mail-android-using-css-media-queries/
Hi Benjamin, could you try again with placing !important directly after the last 0 without a space?