
6
Samsung Mail 100% width fix for left aligned mails
Hi all,
Just received the mail about Samsung Mail being in Litmus now. Read on https://litmus.com/blog/samsung-now-available-in-litmus-email-previews the following:
We also saw some emails displaying smaller than the viewport and aligned to the left of the screen. This behavior was very inconsistent across tests, but definitely worth looking out for.
This actually is happening for all of my mailings. On above page it was also mentioned about the client specific css that you can use. After using the following css the mail actually showed 100% width. So if you have the same trouble this might help for you as well.
MessageViewBody, #MessageWebViewDiv{
width: 100% !important;
}
Just curious, are you missing a hash before MessageViewBody ?
Just tested and yes you are missing a hash. the actual code is:
This didn't work for me, but James Widmer's comment in another post worked.
"Changing body { margin: 0 !important; } to body { margin: 0 auto !important; } worked for me."
Just tried it and that one worked for me too! happy days.
Oddly, the first time I ever saw this was today, and that fix didn't work. I don't know WHAT it is, but it's definitely an issue with the template in question, as moving the code into a known working template displayed correctly.
Thanks for posting, this worked a treat! ^_^