简体   繁体   中英

How to remove Extra white space on right side of website in mobile view

https://comcube.ae/index.html

I'm getting a full vertical white space in this webiste when viewed on mobile. (In Google Chrome Browser) I've tried margin: auto , width: 100% ; kind of things... But still not correct. The problem is on the index page. Any help appreciated. Thank you.

Try and find this using the inspect element and change this in CSS with using media queries because there might be one element on your page which might have a width and a padding or margin exceeding 100%.

You can try making overflow-x: hidden; in html as well

<style>
html,body{
    overflow-x: hidden;
}
</style>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM