New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change meta name ="Viewport" and its value #878
Comments
Removed static meta Viewport and added via hook and filter also added to modify the value
Use this code to modify the Viewport meta add_filter('ampforwp_modify_meta_viewport_filter', 'custom_prefix_modify_view_port_value'); Thank you, |
Tested and its Working. |
we modified viewport using your code |
Hey @ElQadi TIP: Please set initial-scale and minimum-scale to 1 your set to 2, it will make the screen size 200% on the load. |
Thanks Mohammed for your time, but we have been trying to "zoom in" with many mobile devices but can't. |
Hey @ElQadi, Can you please tell me on which phone you tested? Because I'm able to Zoom in on my iPhone 5s with Safari. Mohammed Kaludi |
Hi Mohammed, |
Hi Mohammed, |
ningnoom (@ ningnoom)
<meta name=”viewport” content=”width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no”>
I need “user-scalable=yes” but i don’t know to edit file location.
please tell me.
Ref link: https://wordpress.org/support/topic/how-to-chang-meta-nameviewport/
The text was updated successfully, but these errors were encountered: