CMS Development

BManandhar
Member

Regarding zoom in and zoom out

SOLVE

When I am building site following the HubSpot boilerpate, I have create modules and templates.  I can zoom in and zoom out in mobile device. How can I remove this for the pages built in HubSpot

I have added this tag

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

But still I am having issue.

Is there any solution?

0 Upvotes
1 Accepted solution
Kevin-C
Solution
Recognized Expert | Partner
Recognized Expert | Partner

Regarding zoom in and zoom out

SOLVE

Hey @BManandhar 

 

After some brief research, it seems that maximum-scale=1.0, user-scalable=no are ignored by all iOS powered browsers.

 

I'm not sure about android and other but I'd bet they followed or will follow suit

 

The reasons referenced for ignoring it is accessibility.

Which is a pretty good reason IMO, though not a fan from a dev point of view.

Kevin Cornett - Sr. Solutions Architect @ BridgeRev

View solution in original post

1 Reply 1
Kevin-C
Solution
Recognized Expert | Partner
Recognized Expert | Partner

Regarding zoom in and zoom out

SOLVE

Hey @BManandhar 

 

After some brief research, it seems that maximum-scale=1.0, user-scalable=no are ignored by all iOS powered browsers.

 

I'm not sure about android and other but I'd bet they followed or will follow suit

 

The reasons referenced for ignoring it is accessibility.

Which is a pretty good reason IMO, though not a fan from a dev point of view.

Kevin Cornett - Sr. Solutions Architect @ BridgeRev