iPad layout does not resize from vertical to horizontal

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Sep 05, 2012 1:51 am
Reply with quote
Report this post
Hello, Gavick folks,

I am working on the Fashion template and have noticed that the layout loads correctly in a vertical position on an iPad, but when turning to horizontal, the layout expands beyond the browser window. If I load the site in a vertical position, the site loads to the correct width. If I then turn to vertical, it is still correct. BUT, if I turn back again to horizontal, it is incorrect.

I made a few changes to the css: the logo width was increased from 210 to 300px. The other changes (other than color) were to remove some top and bottom padding to gkPageTop and gkPageWrap. I also changed .gkIsWrapper-gk_fashion margin to 0 so that the imageshow would have the same border as the sample NewsShow.

I wonder if you could help me pinpoint what I have done wrong or if there is something I have overlooked.

http://www.hilarynmann.com

Thank you,
Evan
User avatar
Fresh Boarder

GK User
Wed Sep 05, 2012 10:38 am
Reply with quote
Report this post
In the layouts/default.php file please change line:
Code: Select all
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2.0">


to:
Code: Select all
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0">
User avatar
Administrator

GK User
Sun Sep 16, 2012 12:17 am
Reply with quote
Report this post
Thank you for solving this problem so quickly! (I'm sorry I took so long to get back to you)

--Evan
User avatar
Fresh Boarder


cron