Site keeps flipping to mobile version on a desktop

Posted in: Newspaper
Post count: 27

http://www.retirewire.com

I haven’t changed anything but in Safari and Firefox it keeps randomly flipping to the mobile version of the site. I can’t get the desktop version up – where do I fix this and keep this from happening again?

Post count: 27

Is there anyway I can attach a picture to show you? Or you can just visit the site – http://www.retirewire.com

Post count: 9544

Always check your pages with F12/console for errors …

I’m seeing this in visiting your page:

swarmdetect.js:1 A Parser-blocking, cross-origin script, https://assets.swarmcdn.com/swarmcdn.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.

one of your posts at random

VM277:2 Uncaught SyntaxError: Label 'https' has already been declared(anonymous function) @ swarmcdn.js:5
2swarmdetect.js:1 A Parser-blocking, cross-origin script, https://assets.swarmcdn.com/swarmcdn.js, is invoked via document.write. This may be blocked by the browser if the device has poor network connectivity.
jquery-migrate.min.js?ver=1.4.1:2 JQMIGRATE: Migrate is installed, version 1.4.1
swarmcdn.js:962 Waiting for DOM Content
swarmcdn.js:950 Page ready swarm load proceeding
swarmcdn.js:858 API adcd16c4-a237-44ad-909f-e1a242766273
12f36af…:40 Uncaught TypeError: data.match is not a function

Might or might not be the cause. Just worth noting, this is not “normal” on visiting a website so might be throwing something off in those browsers.

Post count: 27

Hmmm, any idea how I can fix those errors? It’s a bit above my head.

Thanks for pointing that out however. Also you mention that may or may not be the problem so I’m curious how to find out what actually is the issue.

Any and all advice is really appreciated, thank you!

Post count: 285

If you use custom code for css, try to remove from the box and put in the main style.css
If not fixed with this step, you have an incompatibility with some plugin.

P.D.: that errors are from you plugin “SwarmCDN”

Post count: 27

I deactivated the swarmify plugin and that seems to have fixed it – thanks so much for all of your help!

Post count: 9544

Always a community effort here! 🙂 Glad you got it sorted.

F12/console great way to check stuff — Chrome is great for that (and EDGE, also to a lesser extent). Often when “something weird going on” it’s the first place to look, BEFORE just turning everything off.

Also great way to isolate CSS classes you want to change by highlighting them.

Post count: 285

🙂

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.