Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Elwin de Witte
1,357 PointsMedia queries don't work like I wish
Hi everyone,
I'm building a website (insider.harwindesigners.nl/dekruidendokter) and I added some media queries. The website responds just fine in the browser, but when I view the website on my phone (WP8.1 - IE11) it doesn't. Can someone spot what I'm doing wrong? Is it because I'm not using em's?
Thanks for the help!

Tayfun Kayahan
Courses Plus Student 1,870 PointsYou could give it a static width like; width:125px !important; !important means that nothing will override that rule.

Elwin de Witte
1,357 PointsThanks! It kinda worked, but I can figure out the rest. Thanks for your help!
1 Answer

Tayfun Kayahan
Courses Plus Student 1,870 PointsTry to use this viewport;
<meta name="viewport" content="width=device-width, initial-scale=1">
Elwin de Witte
1,357 PointsElwin de Witte
1,357 PointsThanks for the help! It works! But I still have a problem... I know it is a problem with the icons from Google, but I don't know how to fix it. The icons appear to grow causing the website to get wide again. Do you know how to fix this? This is where the problem is:
<div class="arrow_drop_down_circle"> <a href="#content"><i class="material-icons">arrow_drop_down_circle</i></a> </div>
Live on: http://insider.harwindesigners.nl/dekruidendokter/2.0/geneeskunde.html