Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #871165

    relghazi
    Participant

    Hello,

    I’ve noticed that on an iPhone 5/5s/SE, my website doesn’t quite resize properly to the device’s viewport (320×568) and as a result all text is cropped by default (see attached screenshots).

    FYI I have the following line in my index.php:

    <html><head><meta name=”viewport” content=”width=device-width, initial-scale=1.0″><title>R3Z</title></head><frameset rows=”100%”, *” border=”0″ frameborder=”0″><frame src=”<?=$URL?>”></frameset></html>

    What am I doing wrong? Could you please help?

    Thanks,
    Reza Elghazi

    #872173

    Rad
    Moderator

    Hi there,

    Thanks for posting in.

    It’s because of the frameset. It’s like having a window within a window. Since it’s internal window, it will only respond to its parent window and not to the devices.

    Your site is basically embedded to another site. Please remove the iframe and use the actual site.

    Thanks!

    #872210

    relghazi
    Participant

    Hello,

    Thanks for highlighting the source of the issue. I used a frame to mask affiliate URLs, but in fact I figured out a more elegant solution:

    <html><head><title>R3Z</title>
    <meta name=”viewport” content=”width=device-width, initial-scale=1.0″ />
    <meta http-equiv=”refresh” content=”0;url=<?=$URL?>” />
    </head></html>

    Cheers,
    Reza

    #872728

    Zeshan
    Member

    Glad to hear you’ve figured it out! 🙂 Have a good day.