diff --git a/examples/non-responsive/index.html b/examples/non-responsive/index.html index 7eb2138d1e..35f16cddfc 100644 --- a/examples/non-responsive/index.html +++ b/examples/non-responsive/index.html @@ -27,7 +27,7 @@
Note the lack of the <meta name="viewport" content="width=device-width, initial-scale=1.0">
, which disables the zooming aspect of sites in mobile devices. In addition, we reset our container's width and are essentially good to go.
Note the lack of the <meta name="viewport" content="width=device-width, initial-scale=1.0">
, which disables the zooming aspect of sites in mobile devices. In addition, we reset our container's width and are basically good to go.
To disable responsive features, follow these steps. See it in action in the modified template below.
<meta>
mentioned in the CSS docsmax-width
on the .container
(e.g., .container { max-width: 940px; }
). Be sure that this comes after the default Bootstrap CSS; otherwise, you'll need !important
.max-width
on the .container
for all grid tiers with .container { max-width: none !important; }
and set a regular width like width: 970px;
. Be sure that this comes after the default Bootstrap CSS. You can optionally avoid the !important
with media queries or some selector-fu..col-xs-*
classes in addition to or in place of the medium/large ones. Don't worry, the extra-small device grid scales up to all resolutions, so you're set there.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.
@@ -280,7 +280,10 @@ bootstrap/