In my Dawn theme website, there is some horizontal scrolling in mobile view. Please anyone help me to sort out this.
website: Amber By Deviriti
password: amber
In my Dawn theme website, there is some horizontal scrolling in mobile view. Please anyone help me to sort out this.
website: Amber By Deviriti
password: amber
Hey @Sivadarshan
Follow these Steps:
<style>
@media screen and (max-width: 767px) {
html, body {
overflow-x: hidden !important;
}
}
</style>
RESULT:
If you require any other help, feel free to reach out to me. If I managed to help you then a Like would be truly appreciated.
Best,
Moeed
Horizontal scrolling on mobile usually happens when some element is wider than the viewport (like an image, section, or custom code that’s breaking out of the container
Follow these Steps:
Go to Online Store
Edit Code
Find base.css file
find .search-modal__form .field__label and .newsletter-form__field-wrapper .field__label
replace width: 100%; to width: auto;
This is a bad decision that doesn’t solve the potential problem.
can negatively affect other sections of your website because it applies globally to the entire site or theme. This means that any horizontal scrolling — even for sections that are intentionally scrollable — will be disabled, potentially breaking sliders, carousels, or other horizontally scrollable elements on your website.
To avoid this, it’s better to apply overflow-x: hidden only to specific sections or containers instead of globally to html or body.
off sitewide
July sale — 45% off at checkout, applied automatically. Valid for 60 minutes. One per customer.
Offer ends in