Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


How to determine cause of horizontal scrolling mobile website?

On my mobile site, I have some pages that break into horizontal scrolling to the right but when I inspect element, even if I select the html nothing goes over there. Here is an example of the page that is doing it the worst: https://thebaumcreative.com/contact/

Is there an easy way to tell why it is doing this?

Thank you

1 Answer

I found it, a div wrapper I had was using left: -50% and causing some issues. I fixed it to not use the wrapper and instead use margin 0 auto for my centering and that worked.