Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Jenny Lane
Jenny Lane
6,467 Points

Email font-size in mail app (gmail) is too small

When I set a table column or paragraph to 15px, it looks fine on desktop but is small on a phone when viewing through the mail app. Is there a way to adjust this without make it larger for desktop view? I've read that gmail does not accept media queries? Is there a work around or is this just a user setting?

Thanks!

2 Answers

Nick Yoho
Nick Yoho
6,957 Points

Have you tried using any other units like pt or em instead of px?

Jenny Lane
Jenny Lane
6,467 Points

ive tried pt, %, I even tried wrapping it in <big> but of course that made it large on desktop view as well. :(

vincent batteast
vincent batteast
51,094 Points

you can also do a @media change that will change setting are cell phone @media (min-width: 480px{

}

Jenny Lane
Jenny Lane
6,467 Points

Unfortunately, gmail strips media queries