I Cannot Disable Mobile View. meta viewport not in header.php
-
Here’s the problem:
I can’t seem to find a way to disable mobile view and force desktop view on my WordPress site. I’ve tried many of the solutions online such as going into the WordPress dashboard < Appearance < Editor < Header.php and looking for:
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
so that I can change the initial scale to “0.1” or delete the line altogether. The problem with this solution is that this line is nowhere to be seen in the header.php in the theme appearance editor. However, this line does appear when I visit my site and press f12 to pop into device mode under “head” of the markup. Please visit myordinance.com and press f12 or view these uploaded links to see pictures of this dilemma.Tinypic Url for < meta name=”viewport” content=”width=device-width, initial-scale=1″> missing in theme editor’s header.php: https://tinypic.com/r/rrnhtu/9
Tinypic Url for < meta name=”viewport” content=”width=device-width, initial-scale=1″> present in f12 responsive/device mode when on site: https://tinypic.com/r/o7turr/9
The next solution was to go into the theme settings and disable the responsive script/style. however that rendered the following error: Fatal error: Maximum execution time of 30 seconds exceeded in /home1/dayscue/public_html/wp-content/plugins/ocean-extra/includes/panel/scssphp/src/Parser.php on line 875
Which can be seen in all its glory here (note that the error occurs on a different line in this screen cap than the above most recent error): https://tinypic.com/r/142sd4w/9
The funny thing about this error is that when I turn the responsive style/script back on and save the change, the error doesn’t occur. It only occurs when I attempt to turn it off.
So with all of this being said, how the hell do I turn off mobile view/responsiveness and force desktop mode for the OceanWP theme in wordpress? I’m willing to try any solution. I want to purchase the extras for this theme but only if I can limit the device view to desktop view. If not I will sadly be needing to switch to a theme that will allow this to happen. Thanks in advance ladies and gentleman.
The page I need help with: [log in to see the link]
- The topic ‘I Cannot Disable Mobile View. meta viewport not in header.php’ is closed to new replies.