I have created a mobile theme on WordPress and added the header code:
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
I tested it on my smartphone and worked good. However when I rotated the screen, it didn't stretch out the entire website.
How do I make the theme stretch out on rotating the screen on your smartphone.