<pclass="lead">Don't want your site or application to be scale on different device? With a little bit of work you can disable the responsive features of Bootstrap so that mobile users see your full desktop-version site.</p>
<pclass="lead">Don't want your site or application to be scale on different device? With a little bit of work you can disable the responsive features of Bootstrap so that mobile users see your full desktop-version site.</p>
<h3>Steps to disable responsive views</h3>
<p>To disable responsive features, follow these steps. See it in action in the modified template below.</p>
<p>To disable responsive features, follow these steps. See it in action in the modified template below.</p>
<ol>
<ol>
<li>Remove (or just don't add) the meta viewport mentioned in <ahref="../css/#overview-mobile">the CSS docs</a></li>
<li>Remove (or just don't add) the meta viewport mentioned in <ahref="../css/#overview-mobile">the CSS docs</a></li>
...
@@ -141,6 +142,8 @@ bootstrap/
...
@@ -141,6 +142,8 @@ bootstrap/
</ol>
</ol>
<p>You'll still need respond.js for IE8 (since our media queries are still there and need to be picked up). This just disables the "mobile site" of Bootstrap.</p>
<p>You'll still need respond.js for IE8 (since our media queries are still there and need to be picked up). This just disables the "mobile site" of Bootstrap.</p>
<h3>Bootstrap template with disabled responsive</h3>
<p>We've taken the above steps and applied them to a basic template here. Note the steps above are called out in comments here, e.g. <code><-- 1. --></code>.</p>
{% highlight html %}
{% highlight html %}
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
...
@@ -161,6 +164,13 @@ bootstrap/
...
@@ -161,6 +164,13 @@ bootstrap/
<h1>Hello, world!</h1>
<h1>Hello, world!</h1>
<!-- 3. When using grid columns, use the `.col-xs-*` classes -->
<divclass="row">
<divclass="col-xs-4">One third</div>
<divclass="col-xs-4">One third</div>
<divclass="col-xs-4">One third</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->