I’m using CSS media queries to create a responsive theme. I want to add a link at the footer of the website labeled “GO TO DESKTOP WEBSITE”. This link will specifically be displayed on the mobile devices. How can I do it so that when a visitor click on the desktop website link, the website is loaded with desktop media query, not of mobile. I hope I’ve made myself pretty clear on my issue. I’ve searched on Google for the solution but can not find anything related.
Share
You unload your
responsive.cssfile using:for example you might have:
then you can have:
Here’s a quick example: http://jsbin.com/elukab/1 (just minimize the browser window)
or
you can redirect the user to a new URL where you specify that you want the mobile version off, for example:
and with your dynamic language, just read the query string and don’t load the responsive styles, as I’m a .NET developer, I would do: