user-scalable=0
) to prevent zoom, but be cautious of accessibility impacts.When you focus on form input fields (especially in forms with small font sizes), iOS devices auto-zoom in. You can prevent this by ensuring the font size is large enough and by adjusting the viewport meta tag.
iOS Safari zooms in on form elements with font sizes smaller than 16px.
To prevent zooming, set a font size of at least 16px on all input, select, and textarea elements.
In Webflow, select the input elements and set:
Font size: 16px or larger
Do this for the mobile breakpoints to ensure consistency
Webflow automatically includes a default viewport meta tag. To prevent zooming, use the following adjusted tag:
Go to Page Settings of the page you're editing
Scroll to Inside Head Tag
Add this code:
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
This restricts user scaling, which disables pinch-to-zoom and automatic zoom.
Set input font sizes to 16px or larger to prevent iOS auto-zoom, and optionally add a custom viewport meta tag to disable user zooming (though this may affect accessibility).