I’ve been wondering if there is a way to stop bootstrap from shriking after a certain point. I like the way my website looks 700 px width. so is there a way to stop bootstrap from shirking my html after that point?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think that, as mentioned in question Twitter bootstrap minimum width in responsive layout, you can set
min-widthCSS property to700pxfor any element you don’t want to be narrower than 700px.Say you have a div called “wrapper” that wraps all of your page contents:
You can style it like this:
NOTE: If you are using responsive layout, you will also have to comment the styles you want to be disabled in
bootstrap-responsive.cssfile.So, when using responsive layout, if you want your site to be displayed 700px wide, you will also have to comment the styles under:
And leave the CSS rules (but removing the @media and the brackets) of styles under:
Hope that helps!