Bootstrap - Some kind of margin on mobile devices (only right side)
I figured it out:
html, body {
overflow-x: hidden;
}
Solved it for me!
Empty left margin on body on mobile devices using Bootstrap
In the block which had the heading 'Download original swipe files to ensure your success.' you have the text, an image to the side, and the caption 'one click download of swipe file'
The caption is actually a svg file and I think at some viewports it's too wide for the bootstrap column and it's disrupting the grid. I can't tell for sure, but you could try temporarily removing the caption and see what happens.
The behaviour I'm describing is most obvious when the browser window is around 780px ... it's always possible that we are looking at different things ;)
Good luck!
How to remove space on right side when in mobile view in Bootstrap 4?
It's caused by this rule:
.no-pad {
padding-right: 0px;
}
Remove the no-pad
class and use responsive Bootstrap spacing classes (such as px-md-0
etc.) for spacing.
Unwanted white space on right side in mobile view
I think there might be one element on your page which might have a width and a padding or margin exceeding 100%.
When 'inspecting' the page and hover over the white space you might select an element there which is going outside of the wanted page.
Try and find this using the inspect element and change this in CSS with using media queries
Random Whitespace/overflow on right side of website only on mobile devices
Well I can't believe it but I had overflow-x: none, instead of overflow-x: hidden; I also had it on the wrong media query in my CSS.
Just glad I'm not crazy! lol
Margin on right side of site
The <div class="row">
right after the <!-- Contact Form - START -->
comment is what's throwing the margin off. It looks like if you removed the margin-right: -15px;
from that "row", it should fix it.
Showing unwanted space on the right side of a page in mobile chrome browser but fine in mobile firefox browser
this is because of you make container
padding 0px
using class px-0
remove this class with the container
class at the place mentioned by me in following image. I am sure this will help.
Thank you.
Related Topics
Is There a Maximum Length for the Class Name in CSS
Css: Auto Resize Div to Fit Container Width
Compressing Fonts for Using in Web
Align Header Elements in Shiny Dashboard
Safari Font-Weight Issue , Text Too Bold
Why Is Vertical-Align:Text-Top; Not Working in CSS
Why Are There Two Colons Here? Span::Before
How to Make Element Fill Remaining Width, When Sibling Has Variable Width
What Does This Size Mean in CSS {Font: 14Px/24Px Arial, Helvetica, Sans-Serif}
Translate VS Transform-Origin CSS3
Vertically Aligning a Checkbox
Css3 Transition Only When Class Is Added, Not When Removed
Text-Align: Justify and Images
Is There Polyfill for CSS Transform Property in IE8
Google Chrome Not Respecting Z-Index