Reputation: 900
There is a white space on the right side of every page on my website. This white space only appears when the screen width is smaller than 767 pixels so it must be one of the media queries causing it but I can't find the cause. I tried changing widths and overflows on the body
element aswell as the #top
element, .header
element and #menu
element. I suspect one of those to cause the problem but I'm puzzled. Strangely this only happens on Safari on my desktop, but on my mobile phone it also happens on Chrome.
See this website on a smaller screen width.
Does anyone have any useful insights?
Upvotes: 0
Views: 806
Reputation: 4902
IT because you didn't follow bootstrap framework...When ever you use
row
you must usecol
after that like<div class="row"></div class="col-sm-12">
In above case you use row
in header
but after that you didnt use col
add col
div after row OR use
.header {
overflow: hidden;
}
Upvotes: 0
Reputation: 26
Please check the image u are using a "row" there remove that. That was there is a horizontal scroll showing
Upvotes: 1
Reputation: 339
Please add Css
@media (max-width: 767px){
html {overflow-x: hidden;}
}
Upvotes: 4