Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Override Android's Gmail app minimum font-size (Newsletter)

I am creating a newsletter and after a lot of effort it works everywhere except android's gmail app. The problem is that it seems it has a minimum font size and that cause my table to break.

Is there a way to overcome the minimum font-size not with media queries cause most likely it will get stripped.

In iphone's Mail app for instance, to overcome the minimum font-size I use -webkit-text-size-adjust:none; Is there something similar?

Thanks

like image 775
vaskort Avatar asked Jan 14 '14 15:01

vaskort


People also ask

How do I change font size in Gmail IOS app?

Change font sizeGo to your iPhone or iPad Settings. Text Size.

How do I increase font size in mobile apps?

Steps to change font size in Android OS:Go to 'Settings' Select 'Display' Choose 'Font Size' or 'Screen Zoom' Set your font as desired.


2 Answers

did you check this thread? https://www.campaignmonitor.com/forums/topic/7801/gmail-app-android-text-size/ as it's said there:

You need to add min-width to a container table (one that wraps all your other tables, NOT your 100% container) then you should see most, if not all auto fit issues dissapear since most auto-fit issues are related in some way to the device independent pixel (DIP) width.

like image 161
Yuri Tkachenko Avatar answered Sep 27 '22 17:09

Yuri Tkachenko


The issue isn't an auto-fit issue. It's true that the min-width fix will make your layout arrange correctly, but I'm pretty sure the issue with the text is a combination of the GMail app not respecting webkit-font-size-adjust, stripping any viewport tags, moving any <13px font up to 13px. I've tried a lot of things for this in the past :( i've been reduced to making images out of small text / nesting tables as a container to account for more text space than every other client.

Tested in Litmus and GMail on Android 4.3

like image 42
zazzyzeph Avatar answered Sep 27 '22 17:09

zazzyzeph