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! While you're at it, check out some resources Treehouse students have shared here.

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

CSS Mobile-First CSS Layout Mobile-First CSS Layout Centering Page Content and Creating a Full-width Header

Isabelle Johnson
Isabelle Johnson
3,175 Points

Extra margin on the right side of website

Hello I have extra white space on the side of a slideshow. This appears on the mobile site. Why could this be? Many thanks

1 Answer

Rohald van Merode
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Rohald van Merode
Treehouse Staff

Hey Isabelle Johnson 👋

It's very hard to tell without seeing the project/code. It could be caused by a lot of things, but first things that come to mind are either some padding/margin being added that isn't supposed to be there, or there is an element in your slideshow that takes up more width than the parent element.

What ever the issue is, the dev tools should be helpful to find the cause. Try inspecting the different elements in your slideshow to see what element is taking up that space 🙂

Hope this helps! 😃