So I'm using bootstrap to make a navbar and used their example navbar as my foundation. I fiddled with the bootstrap file to make it so that the navbar will collapse at 995px instead of 768px. Now because of that my navbar's button stays at the left side until the window size is below 768px. I found that if I changed
@media (min-width: 768px) {
.navbar-header {
float: left;
}
}
to
@media (min-width: 995px) {
.navbar-header {
float: left;
}
}
then it works fine.
However I put
@media (min-width: 995px) {
.navbar-header {
float: left;
}
}
into a custom.css and loaded it after bootstrap.css and no change occurred. My custom.css didn't override the boostrap.css. I would like to refrain from changing the bootstrap.css.

