I have created this website, and so far I have not been able to find out why only on certain iPhone phones, the website is not displayed in its responsive mode. (it shows correctly on most iPhone phones).
Here is what I have done so far:
- Checked the website on Android devices: it looks good
- Check the responsive website on different browsers: it works
- Use online iphone simulators to see how the website looks: Shows fine
- Cleared browser cache and cookies on iPhone devices that have problem showing the responsive mode: Still no luck
Here is a screen shot of how the website homepage SHOULD look like in iphones.
The
meta viewport
tag is not the issue.Several viewport tests look as it supposed to.
Review the CSS media calls, simplify them and make sure they don't overwrite each other.
Javascript is not the issue either. I've disabled it all.
You can also take advantage of specific media queries for iPhones:
Hope this helps!
Try a width of 568 for iphone5
try to use following media query
you are using max-width which is the width of the target display area where as max-device-width is the width of the device's entire rendering area.
i hope it will help you
I would assume that your problem is not using a viewport meta tag. Mobile devices often have much higher pixel densities than a desktop display would, which can cause media queries to not be read correctly.
try adding something like this to your head section: