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

Ray Mak
Ray Mak
4,667 Points

Why is my site not looking responsive in mobile browser?

Hello,

I am having issue with responsive site issue in any type of browse. On desktop I can resize the browser and it is responding to the browser width size, etc. However, when I view it from my desktop, I am unable to view my site with responsive. It is showing me full desktop browser. My site is rahil.me.

Thanks,

Ray

2 Answers

I think I was having the same problem. Try to add the following code:

   <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

It will force the browser to use the native scale for the device.

Good luck!.

Ray Mak
Ray Mak
4,667 Points

Thank you Juan.

Now I realized that I was the above was mentioned in one of the view by Nick.

Thanks,

Ray