I would like to disable one of the Responsive layouts. Whatever the second smallest layout is before it switches to the mobile view.
I would like to disable one of the Responsive layouts. Whatever the second smallest
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are compiling from the LESS files, this is quite easy. Open up
responsive.lessand under “MEDIA QUERIES” comment out or remove the@importdeclaration for whichever layout you don’t want. For example, if you didn’t want the Tablets to regular desktops one, the code would look like this:After that just recompile
bootstrap.lessand you should be done.If, on the other hand, you’re not compiling from
bootstrap.lessand are usingbootstrap-responsive.cssdirectly, you can search for the media query for the specific device and remove/comment out that section.For example, removing the portrait tablet one would look like (in
bootstrap-responsive.css):To find out which
@mediaquery corresponds to which device width, take a look at http://twitter.github.com/bootstrap/scaffolding.html#responsive; the media queries are given there along with the device sizes they correspond to.