Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #357756

    Is there a code that can be added to allow an specific image to be zoom-in on a mobile device? (pinch-zoom or expand image)

    #358692

    Hi Wildwood!

    Open up the header.php file and change line 35 from this.

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

    To this.

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

    That should let you zoom in on mobiles by pinching, etc etc.

    Regards,
    Elliott

    #384301

    Hey guys,

    Code works like a charm.. The level of zoom appears to be limited.. Can I zoom in any further?

    Thanx!

    • This reply was modified 9 years, 11 months ago by BenWorx.
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Enfold Mobile zoom image’ is closed to new replies.