Hi. I need some help with an issue I am having. For my WP site, I developed for a desktop first. To create a mobile-friendly version, in the header.php and footer.php, I call wp\_is\_mobile(), and if true, I do some CSS modifications, via JavaScript, to adjust font sizes, etc.
When I run the site in the mobile version of the inspector in Chrome, I see all my mobile changes. When I run in various browsers on my phone, the pages initially come up without the changes, until I pinch zoom in the page and then pinch zoom out…then, I see the changes for mobile on the page.
Can someone tell me why this is the case, and what to do about it? Thanks!
[ad_2]