Reputation: 507
I've created a responsive website and when I resize the browser window, the site responds the way it should. However, when I check the site in my cellphone, the responsiveness doesn't work. I've read other similar posts that were able to solve this issue by adding the viewport meta tag; and I've added it as well and nothing happens. I've even tried building the entire site again, and I can't figure out why this is happening.
This is what my viewport tag looks like:
<meta name="viewport" content="width=device-width, initial-scale=1">
Thanks in advance.
Upvotes: 0
Views: 4159
Reputation: 1647
as you already wrote i check your code and this line of code is missing make sure that you add it in the head and save and upload your index.html
<meta name="viewport" content="width=device-width, initial-scale=1">
Upvotes: 2