DEV Community

Why my website doesn't display properly on iPhone 5s? What can I check in order to fix this issue?

Foteini Kollia on January 31, 2019

Hello, fellow devs! So, the last month I've been building a site for my uncle. This is the first big project I've ever worked on. I've been using...
Collapse
 
ryansmith profile image
Ryan Smith

I don't have an iOS device to view on, are you able to add a screenshot?

I have heard that vh units work differently in Safari on iOS, which are used in your CSS. I think it is worth a try to use a different unit and see if there is any difference.

Collapse
 
foteinik profile image
Foteini Kollia

Thank you very much for pointing in some direction! I searched about that a little and found this, where there is a discussion about this issue and potential solutions.

Collapse
 
ryansmith profile image
Ryan Smith

You're welcome, I hope that leads to solving the issue.

Collapse
 
anduser96 profile image
Andrei Gatej

Hi! I’m not sure this will solve your problem, but I also had some issues with how my website is displayed on iOS devices and this seemed to be useful: developer.apple.com/library/archiv...

Collapse
 
foteinik profile image
Foteini Kollia

Wow, this seems indeed a great resource and I will definitely check it! Thank you!