-
-
Notifications
You must be signed in to change notification settings - Fork 707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yahoo mobile app not reading CSS rules from <style> in <head> #98
Comments
@collinsethans Hi, thanks for reporting. Which template are you using? And are you referring to the native Yahoo app on Android? Also thanks for posting to Stack Overflow :) |
@collinsethans Did some digging. On Android, Yahoo only supports |
@TedGoas Sorry for the delayed reply. I have made a small snippet of the code and added it to the stackoverflow question. I have referred to the Given your finding on <style> in body, I am thinking of replicating the <style> there -- do you see any issue with duplication of styles? Can you also share some pointers on the source of the information (yahoo/android/style/body)? I did try to figure out on the net before posting, but didn't find. Another query, a bit unrelated -- does outlook mobile app support media queries? |
@collinsethans I answered your question on Stack Overflow. TL;DR: Try duplicating the Regarding Outlook mobile app, I believe iOS supports media queries but Android does not. Not 100% sure about that, though. |
@collinsethans Hi Ethan, since we've been discussing your implementation over on Stack Overflow, I'm going to close this issue. |
@TedGoas Sure, this can be closed. Are there any rules like the <style> needs be right after the Another query: I see many sites now say that |
Not sure. Guessing it's safest to put it right after the opening |
@TedGoas I tested with I however notice that yahoo is increasing the font size. My config has font-size of 15px but yahoo seems to be making it ~18px. It's definitely not degrading, but takes away configurability. On a side note, outlook on android just doesn't work -- it shrinks the desktop view and presents it. |
I created a customized template from your templates. They work properly on desktop as well as on gmail mobile app (using android/galaxy s4). However, yahoo mobile app doesn't read the styles and shows a shrinked version of desktop view.
I tried opening the yahoo mail on desktop chrome after changing the device mode to that of mobile and there yahoo is reading the <style>s. (there's another issue here where yahoo splits words, even word-break:normal;word-wrap:normal' doesn't work. But I guess this is low priority).
When I move the <style> from head to body, yahoo mobile app shows the responsive version, but then gmail mobile app now doesn't read those styles.
I send my test email to my yahoo/outlook/gmail accounts and then view there. I have also posted this on stackoverflow (http://stackoverflow.com/questions/42321841/) FYI.
The text was updated successfully, but these errors were encountered: