<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
To prevent mobile zoom when focusing on a form input in a Webflow project, you can adjust your viewport settings using custom code.
Go to Webflow and open your project.
Click on Project Settings > Custom Code > Head Code.
Add this meta tag:
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
This setting disables pinch-to-zoom and prevents browser from auto-zooming when focusing inputs.
If necessary, you can embed light custom CSS under Custom Code > Head Code:
<style>input, textarea { font-size: 16px !important; }</style>
Use this only if multiple input styles vary and you need a universal update.
To stop mobile zoom when focusing form fields, set the viewport tag to disable scaling, and ensure all input field fonts are at least 16px. This avoids triggering zoom behaviors on mobile browsers, especially on iOS.