Bootstrap responsiveness on large screens

Asked

Viewed 46 times

-3

I’m creating a bootstrap4 site and it’s breaking/getting weird on screens over 1300px.

Is that the standard Bs behavior in these cases? What can I do to make the layout equal to the desired?

Edit: I realized I shouldn’t have posted the image of the site layout or the code and therefore delete from the post.

1 answer

2

Two shapes that comes to mind now to "adjust" that would be:

1st Since you are using Bootstrap 4 put all your code inside a <div class="container-fluid"> not forgetting to close the </div> in the end.

second other is:

<style>    
        @media screen and (max-width: 1800px) {
          body{
            width: 1920px;
          }
        }
</style>

This will prevent the elements from escaping to the desired size, you can set to even larger sizes.

  • I tried both solutions and there was no change in behavior.

  • It’s hard to help without HTML code, without CSS, in your case you need to handle the maximum page width...

  • It makes perfect sense, man, but you better take it off. But I think I’ve come up with a solution, I’ve put the background image inside a Jumbotron and I’m trying to control the size now...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.