i created a mobile page with bootstrap, but for some kind the mobile page has a margin or padding on mobile devices on the right side where i can slide to. I deleted some co
Do you know you don't have bootstrap.min.js file in your js directory? Anyway, the solution is just don't use "col-lg-12" div, "row" will fill 100% of width so why you want this one?
.col-lg-12 class has padding-right: 15px;
and padding-left: 15px;
, that causes white spaces. Make them 0, than remove margin-right: -15px;
and margin-left: -15px;
in .row class.
If you want to set the right-padding on your example header, then just do that style in .container
for example: Padding-Right:12px.
I figured it out:
html, body {
overflow-x: hidden;
}
Solved it for me!