Home › Forums › WoodMart support forum › iOS input Field Zooming – Issue Persists on Staging with Clean Setup
iOS input Field Zooming – Issue Persists on Staging with Clean Setup
- This topic has 4 replies, 2 voices, and was last updated 1 month ago by
Luke Nielsen.
-
AuthorPosts
-
March 26, 2025 at 10:29 pm #649322
x7corpParticipantHi there,
I’ve noticed that on iPhones (including the latest 16 Pro Max), when tapping into a input field (e.g. name or address), the page zooms in slightly. This only happens on ios mobile devices and only during input.
To troubleshoot, I’ve set up a staging environment where:
– I’ve switched from the child theme to the main WoodMart theme
– All plugins are deactivated
– The issue still persists
Here is a video showing the issue: https://1drv.ms/v/c/e701fb6a52f72e79/EWKjqIt9n1ZBla-dQLEIZZgB9W2tC6vHpWDaljeWWbuE4g?e=mJEyxs
I have given a login link to the staging below.
Could you advise what might be causing this behaviour, I have checked the demo and this doesn’t happen.
Thank you.
March 26, 2025 at 11:57 pm #649337
x7corpParticipantHi, Please use this temporary login instead. the previous one was mistake.
After some investigation, it looks like the zoom issue on iOS is related to the user-scalable setting in the viewport meta tag. I’m aware that you offer a setting to disable zoom (“Not Scalable”), but that approach isn’t ideal from an accessibility standpoint.
Instead, I’d prefer to follow best practices and increase the font size of input fields from 14px to 16px, which should prevent the zoom without disabling pinch-to-zoom entirely.
Could you please advise the correct way to adjust the font size for all input fields site-wide using Woodmart’s theme settings (preferably without custom CSS)?
Thanks
March 27, 2025 at 12:52 pm #649501
Luke NielsenKeymasterHello,
For now, it’s possible via custom CSS, try to use the code below:
input[type='email'], input[type='date'], input[type='search'], input[type='number'], input[type='text'], input[type='tel'], input[type='url'], input[type='password'], :root textarea, :root select { font-size: 16px; }
Kind Regards
April 3, 2025 at 9:53 pm #651599
x7corpParticipantjust confirm if I want input to be 16px to stop zooming but to keep the placeholder text at 14px can I use the following CSS:
/* Prevents iOS from zooming input fields smaller than 16px */
input[type=’email’],
input[type=’date’],
input[type=’search’],
input[type=’number’],
input[type=’text’],
input[type=’tel’],
input[type=’url’],
input[type=’password’],
:root textarea,
:root select {font-size: 16px;
}input[type=’email’]::placeholder,
input[type=’date’]::placeholder,
input[type=’search’]::placeholder,
input[type=’number’]::placeholder,
input[type=’text’]::placeholder,
input[type=’tel’]::placeholder,
input[type=’url’]::placeholder,
input[type=’password’]::placeholder,
textarea::placeholder,
select::placeholder {
font-size: 14px;
}April 4, 2025 at 2:24 pm #651774
Luke NielsenKeymasterHello,
If that custom CSS works well for you, you can use such code.
Thank you for your time.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register