How to Allow Pinch Zoom for Mobile Devices?

This topic has 6 replies, 3 voices, and was last updated 9 years, 8 months ago ago by Robert Hall

  • Avatar: CursiveQ
    CursiveQ
    Participant
    March 24, 2015 at 03:54

    Hi,

    First, thank you for making this theme… I love it! Everything works great and I am having a blast customizing it.

    One thing I would like to know if it is possible is to allow mobile device users to pinch zoom. As of right now, the responsive design doesn’t allow the user to pinch zoom into smaller icons or photos or even blocks of text that might not be totally readable on the phone.

    Is there some code I can insert to allow this?

    Thank you for your time.

    Mike

    5 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 24, 2015 at 08:27

    Hello,

    Could you please clarify with more details what exactly you want to do and show us screenshots?

    Regards,
    Robert Hall.

    Avatar: CursiveQ
    CursiveQ
    Participant
    March 24, 2015 at 21:17

    Hi Robert,

    This wouldn’t be something I can screenshot. Here is what I mean in more detail:

    When I visit my website on my iPhone, I’m unable to use my fingers to pinch and zoom to make the website bigger on my screen.

    I tried Googling the issue, here is a link I found. Any thoughts?
    http://www.iheni.com/mobile-accessibility-tip-dont-suppress-pinch-zoom/

    Thanks,
    Mike

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    March 26, 2015 at 08:30

    Hello,

    Yes, you can use that tip to add zoom and we’ll also add such feature in our next theme update. Edit royal/header.php, replace line 7
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
    with
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2.0"/>

    Regards,
    Olga Barlow

    Avatar: CursiveQ
    CursiveQ
    Participant
    March 28, 2015 at 03:42

    This worked great! Thank you for taking the time to look into this.

    Cheers,
    Mike

    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 28, 2015 at 08:06

    Hello,

    You’re welcome!

    Regards,
    Robert Hall.

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘How to Allow Pinch Zoom for Mobile Devices?’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.