Skip to content

Instantly share code, notes, and snippets.

@originalhat
Created December 12, 2012 17:04
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save originalhat/4269590 to your computer and use it in GitHub Desktop.
Save originalhat/4269590 to your computer and use it in GitHub Desktop.
Adjusting Bootstraps Responsive Collapse Threshold

Adjusting Bootstraps Responsive Collapse Threshold

references

solution

both thresholds in bootstrap-responsive.css must be adjusted accordingly.

before

@media (max-width: 979px) {
  ...
}

AND

@media (min-width: 980px) {
  ...
}

after

  • shooting for a collapse threshold of 1120px.
@media (max-width: 1120px) {
  ...
}

AND

@media (min-width: 1121px) {
  ...
}

I simply edited the contents of bootstrap-responsive.css, overwriting the contents in a separate *.css file is entirely possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment