Home › Forums › Support › A new php if possible This topic has 5 replies, 2 voices, and was last updated 1 year, 8 months ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts October 17, 2020 at 3:19 am #1492926 JOAQUIM GALANTE To view the site on mobile phone or tablet always like in the computer, the php above not function now. add_filter( ‘generate_meta_viewport’, function() { return ‘<meta name=”viewport” content=”width=1024″>’; } ); Can you send me a new one ? https://focusmsn.pt October 17, 2020 at 5:14 am #1493012 DavidStaff Customer Support Hi there, that filter should still work – where did you add it the site ? Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ October 17, 2020 at 5:30 am #1493028 JOAQUIM GALANTE I add it on code snippet four months ago and worked but not now. October 17, 2020 at 7:00 am #1493109 DavidStaff Customer Support Can you try removing the code snippet and re-adding it ? You can recopy the code Tom provided here: https://generatepress.com/forums/topic/preventing-mobile-zoom-in-form-fields-etc/#post-1410097 Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ October 17, 2020 at 7:11 am #1493117 JOAQUIM GALANTE Now it is well. Thanks October 17, 2020 at 7:11 am #1493118 DavidStaff Customer Support Glad to hear it! Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In