Archived topic
On scribe theme, wish to disable zooming in when select type field on mobile.
9 replies · Started by Francis on December 19, 2022
Hi. The occurrence is similar to this support ticket system here, I don’t need the zooming in when clicked on a typeable field. I want to disable zooming in when I click on a field to fill in/ type. It’s on mobile.
How do I achieve that?
Hi Francis,
For reference, can you provide the link to the specific field in question?
You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Hi, I have enabled public to access my site temporary.
The link is attached below.
When I click on the type-able field, it zooms in. I’m on my mobile. I don’t need the zooming. I don’t have this issue with gravity form and another theme; and formidable form has replied me zooming in is not their “feature”. So it is probably of my theme, which is scribe provided by generatepress.
Hi Francis,
I tried clicking and typing on the field shared in the link on my end on an Android phone. The zooming didn't occur from my end though. What device are you using?
I’m using iPhone.
I see. I tested for the occurrence of the issue on an iPhone 14 Pro. I couldn't replicate it from there as well. What iPhone version and what browser are you using?
I’m on iPhone 12 Pro max. Using safari browser.
But my gravity form on other theme doesn’t have this issue. Even from same browser.
I see. To test, can you try adding this snippet?:
add_filter( 'generate_meta_viewport', function() {
return '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,user-scalable=0" />';
} );
Adding PHP: https://docs.generatepress.com/article/adding-php/#code-snippets
I will try. Thanks so much for your prompt assistance.
You're welcome, Francis! Let us know how it goes.