-
AuthorPosts
-
May 10, 2021 at 2:02 pm #1299366
Hi,
I was wondering is there a way to allow users to view the desktop website on a mobile device?
I would like to add a button to the footer of the website (Click here to view desktop version of website) that would trigger the desktop media queries and breakpoints to show on a mobile device?
Hope that makes sense.
Thanks!
May 11, 2021 at 5:48 am #1299550Hey _andym,
This is usually a feature already built into the phone. It should be easily accessible in the browser settings.
Best regards,
Jordan ShannonMay 11, 2021 at 10:51 am #1299636Hi Jordan,
Thanks for the reply. Yeah, technically I know there is an option to view this via the device, I’m on IOS and have tried this with a number of Enfold built sites, none of which actually change. Not sure if that is Enfold, WordPress or my poor execution of the build lol…
It was also to add the convenience of a simple on site button that users could click to view the desktop view. Sadly, most of the website visitors to the site in question aren’t overly ‘tech savvy’ and even the in-browser option (if it worked) might be a stretch for them.
If there isn’t a simple fix/option that’s fine but it would be good for my specific need if there was a solution.
Thanks,
.andyMay 11, 2021 at 3:33 pm #1299701Hi,
Yes unfortunately, there is no easy fix that could be given in the forums, but perhaps a freelancer may be able to code a custom solution,\.
Best regards,
Jordan ShannonMay 11, 2021 at 3:44 pm #1299706Yeah potentially, if it’s codable though there should be a link or trigger which would allow the theme to force load the desktop media query. I would have assumed this would be a simple link of code or two?
I could be wrong. Thanks for the replies all the same.
.andy
May 14, 2021 at 10:06 am #1300288Hi,
Thank you for the update.
As Jordan said, this option is not available out of the box and might require custom modifications, but you could create a button and create a script that removes the “responsive” class name out of the html tag, which should also disable all mobile styles, presenting a desktop version of the site.
// https://api.jquery.com/click/
// https://api.jquery.com/removeclass/Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.