Answer the question
In order to leave comments, you need to log in
Bootstrap doesn't work at 768px, anyone else?
I used bootstrap.css and bootstrap.js to create a site, but I just ran into a not-so-good problem: as soon as the page width becomes 768px, all Bootstrap styles seem to be disabled, and scripts stop working (also Bootstrap) and the site just gets ugly. So, did I do something wrong or did someone else come across this and this is a small defect of the developers? If it's my fault, can you point out the error? Thank you.
Note: on 769 and above and on 767 and below, the site works as it should.
Here is the site itself: q900237t.bget.ru
Answer the question
In order to leave comments, you need to log in
You use media screen and (max-width: 767px) instead of media screen and (max-width: 768px).
After all, if you look at this media in standard bootstrap, it uses 767 for max-width and 768 (which you have) for mix-width joxi.ru/82QQaayi1OokX2
You need to expand the section in the q900237t.bget.ru/styles/homepage_media.css file
@media screen and (max-width: 768px){
nav{ width:100%}
nav ul{float:none;text-align:center;padding:0}
nav ul li{display:block}
.section3_bg img,.section4_bg img{width:300px}
.section6_bg .dots{left:-10px}
.menu-btn{display:block;margin-bottom:20px}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question