I am struggling to adjust the width of my desktop view using a media query. My most recent attempt looks like this:
@media (min-width: 992px) and (max-width: 1199.98px) {
html, body {
max-width: 80%;
}
}
However, this code seems to have no effect on the layout. I am hesitant to modify the container as it may impact the navbar. I am using my own stylesheet apart from the bootstrap cdn, but I'm not sure if that's causing the issue. Am I approaching this problem correctly or is there something crucial that I am overlooking?