Possible Duplicate:
Switching back and forth between mobile and standard views with css / php styleswitcher
If I have all my styles in a single stylesheet, using @media only screen and (max-width: 480px), only screen and (max-device-width: 480px) to define mobile styles, is there a way to allow users to switch back to standard view even if they view the site from a mobile device?
I tried putting my mobile styles in a separate sheet and using a styleswitcher script, but I can’t get that to work. Is there a way to do it with a single stylesheet?
For anybody else dealing with this problem — I used the Device Theme Switcher WP plugin: https://github.com/jamesmehorter/device-theme-switcher/. The plugin allows you to define separate themes for handhelds and tablets and uses User Agent detection to send visitors to the appropriate theme, but also lets you include a “View Full Site” link in your mobile layouts so users can return to the standard view if they want.