Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Liam Hawkes
4,094 PointsBootstrap 3 - desktop view on a mobile device
Is it possible to show a bootstrap website as the desktop version, when on a mobile device?
Basically I want the user to be able to select whether a page would show the 992px or 1200px viewports instead of the small devices one.
For example, the BBC lets you switch between the mobile and desktop site using a link at the bottom of the page, which is what I would like to do.
Thanks, Liam
5 Answers

Liam Hawkes
4,094 PointsJust in case anyone was interested, I came across this JS plugin that did the trick - http://responsiveviewport.com/

Scott Evans
4,236 PointsAs well as a site offering an ability to switch between mobile / desktop view, i believe alot of Modern mobile browsers offer the capability to request either from the website.

Liam Hawkes
4,094 PointsDo you know how this could be done?

Scott Evans
4,236 PointsI've never actually done this myself. I would imagine that offering something that disables the specific mobile styling would work. I would look into JavaScript to do this.

Liam Hawkes
4,094 PointsAh ok, thanks for you help.