diff options
| author | Mark Otto <[email protected]> | 2014-03-16 19:03:53 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2014-03-16 19:03:53 -0700 |
| commit | 2a43e7e78a59c70e217383c12c9ef0482cabb163 (patch) | |
| tree | 8fc0b4560d171f63efb353d4c9965aa5c761d82c /docs/_includes/getting-started/disabling-responsiveness.html | |
| parent | bdb70fa471965728609d86c001384791fa44398b (diff) | |
| download | bootstrap-2a43e7e78a59c70e217383c12c9ef0482cabb163.tar.xz bootstrap-2a43e7e78a59c70e217383c12c9ef0482cabb163.zip | |
Break up docs into includes
Diffstat (limited to 'docs/_includes/getting-started/disabling-responsiveness.html')
| -rw-r--r-- | docs/_includes/getting-started/disabling-responsiveness.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/_includes/getting-started/disabling-responsiveness.html b/docs/_includes/getting-started/disabling-responsiveness.html new file mode 100644 index 000000000..d154e204d --- /dev/null +++ b/docs/_includes/getting-started/disabling-responsiveness.html @@ -0,0 +1,22 @@ +<div class="bs-docs-section"> + <h1 id="disable-responsive" class="page-header">Disabling responsiveness</h1> + + <p class="lead">Bootstrap automatically adapts your pages for various screen sizes. + Here's how to disable this feature so your page works like in <a href="../examples/non-responsive/">this non-responsive example</a>.</p> + + <h3>Steps to disable page responsiveness</h3> + <ol> + <li>Omit the viewport <code><meta></code> mentioned in <a href="../css/#overview-mobile">the CSS docs</a></li> + <li>Override the <code>width</code> on the <code>.container</code> for each grid tier with a single width, for example <code>width: 970px !important;</code> Be sure that this comes after the default Bootstrap CSS. You can optionally avoid the <code>!important</code> with media queries or some selector-fu.</li> + <li>If using navbars, remove all navbar collapsing and expanding behavior.</li> + <li>For grid layouts, use <code>.col-xs-*</code> classes in addition to, or in place of, the medium/large ones. Don't worry, the extra-small device grid scales to all resolutions.</li> + </ol> + <p>You'll still need Respond.js for IE8 (since our media queries are still there and need to be processed). + This disables the "mobile site" aspects of Bootstrap.</p> + + <h3>Bootstrap template with responsiveness disabled</h3> + <p>We've applied these steps to an example. Read its source code to see the specific changes implemented.</p> + <p> + <a href="../examples/non-responsive/" class="btn btn-primary">View non-responsive example</a> + </p> +</div> |
