I want to increase the size of the Bootstrap container. I added this CSS code to make it bigger:
@media (min-width: 992px) {
.container.max-width-940 {
max-width: 1390px !important;
}
}
@media (min-width: 1200px) {
.container.max-width-940 {
max-width: 1390px !important;
}
}
.container.max-width-940
{
min-width: 1390px !important;
}
and then applied it in my div tag on my webpage:
<div style="background-color:white;border-radius:10px;align-content:center;align-self:center;vertical-align:middle;width:100%" class="container max-width-940 body-content" />
However, whenever I do that, the page becomes unresponsive. When I resize the page, controls and text start extending beyond the screen. Here is the code:
<... continue rewriting ...>