ngplayground
ngplayground

Reputation: 21627

WordPress in mobile browser still allows zoom

When I use WordPress Admin Panel in a Mobile browser such as iOS Safari or Android Chrome it allows me to pinch to zoom. When I checked the HTML I see that the below script is in the <head> which in the past has worked for me to prevent the user being able to scale.

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

Am I missing anything else here?

Thanks

Upvotes: 0

Views: 453

Answers (1)

Kevin Cittadini
Kevin Cittadini

Reputation: 1469

Try this:

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">

It was missing

, user-scalable=0

Upvotes: 2

Related Questions