Changing a meta tag
Author: David D.
Visited 1189,
Followers 1,
Shared 0
Hello - I used an app developer to create app for iPhone and Android that presents my website inside the app. It works great in iPhone but in Android the pages size up too large. Their support people are asking me to do something (below). Please tell me how to do this using X5:
In all your pages, there is a meta tag
<meta name="viewport" content="width=640" />
To make all devices fit your your business, can please rewrite it as
<meta name="viewport" content="width=device-width" />
And also, use CSS media queries to flexibly adapt layouts to suit different screen sizes.
For more info, refer this URL
Posted on the
Hello David,
Did you enable the responsive functionality on your project?
If you enable it then the viewport meta tag will be:
<metaname="viewport" content="width=device-width, initial-scale=1" />
Many thanks!