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! While you're at it, check out some resources Treehouse students have shared here.

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

richard Jucewicz
richard Jucewicz
1,313 Points

responsive mode not always working. why is that, and how to fix it?

the website http://raadenmulder.nl/

generally works well as far as responsive design goes.

yet this page: http://raadenmulder.nl/korte-intake.html#korte-intake-nr

shwos up in responsive mode in mobile view. in eg resolution tester as well as in chrome developer tools appear. but not eg on my own mobile phone. why is that and how to fix it?

Try this in your <head>section <head> <meta name="viewport" content="width=device-width, initial-scale=1"> </head>

1 Answer

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,253 Points

Hi Richard,

in the first instance if you're not getting responsive web design showing up on your device check to see if you have the viewport meta tag included on your web pages. It's this HTML tag that actually forces devices to scale the page so the media queries you've created will kick into action,