Jump to content

Disabling any kind of zoom in / zoom out on Mobile and Desktop

Recommended Posts

7 minutes ago, MEEE said:

Site URL: https://crocodile-denim-dj9g.squarespace.com/new-page

Hi

I cannot find any info on how to disable zoom on my page

For example zara.com  does not allow to zoom in and zoom out. I would love to make my page with the same function

https://crocodile-denim-dj9g.squarespace.com/new-page

Pass: 2021lp

RPReplay_Final1637896829.mov

Try to add this meta tag into code injection header

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
 

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
4 hours ago, MEEE said:

Hi

I cannot find any info on how to disable zoom on my page

For example zara.com  does not allow to zoom in and zoom out. I would love to make my page with the same function

https://crocodile-denim-dj9g.squarespace.com/new-page

Pass: 2021lp

RPReplay_Final1637896829.mov

Hi @MEEE try to add this in Header Injecton:

<script>
  document.querySelector("meta[name=viewport]").setAttribute("content", "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0");
</script>

 

SquareRefresh, premium plugins & templates that have an elevated feel.

Plugins: Have your site stand out. 
Templates: Our templates are designed with versatility in mind.
Get Freebies: Sometimes things in life are free. Browser our hand selected free plugins.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.