Answer the question
In order to leave comments, you need to log in
What is the correct way to change the width of the bootstrap 3 container to a larger one?
Hello. The default width of the bootstrap 3 container is 1170px.
I need the width of the container to be 1300px.
I used the customizer on the bootstrap 3 site, set the value @container-large-desktop = 1300px + @grid-gutter-width, which remained by default.
When it came to adaptability, I ran into a problem.
It turned out that in some cases the content width is larger than the screen width:
@media (min-width: 1200px) {
.container {
width: 1300px;
}
}
Answer the question
In order to leave comments, you need to log in
breakpoint still needs to be changed
Media queries breakpoints - @screen-lg
go here getbootstrap.com/customize in the section Container sizes set the desired width, it will also not be superfluous to go over the rest of the parameters
Here's a great video on how to make a Bootstrap grid the RIGHT size :)
https://www.youtube.com/watch?v=7j2MnoFeHJg
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question