End of Support for Joomla 3 - Forum closed

Pinch To zoom

  • Paky50
  • Paky50's Avatar Offline Topic Author
  • Junior Boarder
  • Junior Boarder
  • Posts: 36
  • Thank you received: 0

Pinch To zoom was created by Paky50

Posted 6 years 8 months ago #17959
Hi, is it possible to disable the pinch to zoom?

In the smartphone or tablet i can zoom my site and i want to disable this function.

Many thanks.
Last Edit:6 years 8 months ago by Paky50
Attachments:
Last edit: 6 years 8 months ago by Paky50.

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Pinch To zoom

Posted 6 years 8 months ago #17967
You can disable this function, but need to add some code to your file > layouts> theme.php
stackoverflow.com/questions/11689353/dis...h-zoom-on-mobile-web
www.sitepoint.com/community/t/disabling-...obile-devices/250511
Last Edit:6 years 8 months ago by joomlaplates
Last edit: 6 years 8 months ago by joomlaplates.

Please Log in or Create an account to join the conversation.

  • Paky50
  • Paky50's Avatar Offline Topic Author
  • Junior Boarder
  • Junior Boarder
  • Posts: 36
  • Thank you received: 0

Replied by Paky50 on topic Pinch To zoom

Posted 6 years 8 months ago #17969
What code? D you test the link before to past and to copy????
With the code that you suggest i lost the reponsive mode.

The right code is:
Code:
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">

to insert in theme.php file
Last Edit:6 years 8 months ago by Paky50
Last edit: 6 years 8 months ago by Paky50.

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Pinch To zoom

Posted 6 years 8 months ago #17975
The links for you to read it.
I dont know anything about how to disbale the pinch zoom, thats why I have posted the links.
I would try this code:

<meta name="viewport" content="user-scalable=no"/>

We are committed to help you with any type of support query, however we can't provide extensive help in terms of customizations. In general customizations may look simple but you will require solid knowledge of web technologies and programming skills to do them or hire a professional who can do it for you.

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2022 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License