Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #292884

    Sometime during recent upgrades to the theme, my site has lost the ability to be zoomed on an iPad. I’ve had a few readers contact me about this.

    http://www.mcelhearn.com

    How can I fix this?

    Thanks,

    Kirk

    #293170

    Hi kirkmc!

    The theme has always been set to have no zoom on ipads (because its responsive). You could edit the header.php where that is set and remove it. Look for:

    
    if( strpos($responsive, 'responsive') !== false ) echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">';
    

    and remove the maximum-scale=1
    Regards,
    Devin

    #293183

    Thanks!

    Kirk

    #293184

    Wait, I don’t have the code you mention above. I have this:

    if( strpos($responsive, ‘responsive’) !== false ) echo ‘<meta name=”viewport” content=”width=device-width, initial-scale=1, user-scalable=1″>’;

    Kirk

    #293198

    Remove: user-scalable=1

    See this for a full breakdown of the viewport meta https://developer.mozilla.org/en-US/docs/Mozilla/Mobile/Viewport_meta_tag

    #293320

    Thanks.

    Kirk

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Can't zoom on iPad’ is closed to new replies.