Hi,
I would like my visitors to be able to zoom in on the image of a dinner menu on their mobile phone (and ipad). The site needs to be responsive but when I turn on this option I can no longer zoom in on images.
How can I fix this?
Thank you.
Kind regards,
Charlotte
Hi Boulanger!
You would need to edit this snippet in the header.php:
<!-- mobile setting -->
<?php
if( strpos($responsive, 'responsive') !== false ) echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">';
?>
The content can be modified based on the viewport meta settings. Removing the maximum-scale would allow for zooming.
Regards,
Devin
Hi Devin,
Thanks a lot. Fixed it!
Regards,
Charlotte