Mobile app version of vmapp.org
Login or Join
Deb1703797

: Mobile Google Chrome Not Resizing Responsive Website I am new to designing responsive websites which are done in pure PHP and CSS, and I am not using any CMS like wordpress. I am using @media

@Deb1703797

Posted in: #Css #Mobile #ResponsiveWebdesign

I am new to designing responsive websites which are done in pure PHP and CSS, and I am not using any CMS like wordpress. I am using @media screen and (max-width:....) for the responsive design only (no Javascript nor anything like it).

My question is when I test the responsive website in mobile google chrome that website does not resize but renders as if it was on a pc screen. If I use the desktop Google Chrome browser and resize the window it works perfectly. Do I need to tell mobile Chrome to resize within my website for it to render the website to that screen size or is that how mobile Chrome works now?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Deb1703797

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sent6035632

I did not add any viewports, so I did some research and added this view port <meta name="viewport" content="width=device-width, initial-scale=1">

This sorted my problem. Thanks guys for the help.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme