Hi @markwaregr ,
Thank you for the suggestion. I’ve implemented the code and now my mobile site is working just fine. No grey bars in sight! I’m a little bit reluctant to disable all plugins because a few of them are protecting my site. However, here is a list of all my active plugins:
Akismet – Protects blog from spam. Gives you access to an API Key.
All In One WP Security – WordPress security plugin.
BJ Lazy Load – Lazy image loading makes your site load faster and saves bandwidth.
Contact Widgets – Displays social media and contact information on your website with these simple widgets.
Jetpack by WordPress.com – Enables you to connect your blog to a WordPress.com account to use the powerful features normally only available to WordPress.com users.
Limit Login Attempts
Ninja Forms – A webform builder with ease of use.
Slider – Slider Huge-IT is a WordPress Slider Plugin.
Ultimate Social Media PLUS – Allows you to add social media & share icons to your blog.
Widget Importer & Exporter – Imports and exports widgets.
Wordfence Security – Wordfence Security – Anti-virus, Firewall and Malware Scan
WordPress Importer – Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file.
WP Add Custom CSS – Add custom css to the whole website and to specific posts, pages and custom post types.
WP Instagram Widget – A WordPress widget for showing your latest Instagram photos.
WP Super Cache – Very fast caching plugin for WordPress.
Yoast SEO – The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.
After putting in the coding, my site is working fine, but I noticed that you said it was a temporary solution. If my site were to play up on a mobile device, would it be better to just keep putting in the above code?
Many thanks!