How do you override a media query on Bootstrap 3?
For example, I have my custom style sheet and I want to override a media query that is min-width: 768px to a min-width: 1200px.
Every time I do that it doesn't apply the settings. However if I change that media query on Bootstrap's own css file, then it works!
For more clarification:
bootstrap.css:
@media (min-width: 768px) {
.navbar-header {
float: left;
}
}
My custom.css:
@media (min-width: 1200px) {
.navbar-header {
float: left;
}
}
Please help me out.
@media (min-width: 1200px)this will only override the styles for devices the width above 1200px. - James