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

Oliver Domina
Oliver Domina
2,382 Points

CSS Responsive help

Hi! My name is Oliver and I am super new to HTML, CSS, Wordpress and coding in general, I am making a website for a friend and have come accross some responsive issues. When I view the page as a mobile device its not "tight" for lack of a better word, in that it slides to the right into blank grey area... How can I fix this?

here is my site

http://fanaticmagazine.com

please help! Thank you!

2 Answers

Unfortunately I get a blank page at that URL/address, but if I had to guess, it would be some element that is extending past the width of the main container/wrapper.

It could be an extra long link that isn't wrapping, a table, or anything really.

You could try setting overflow: hidden; on the main container and see if that helps, but be careful it doesn't add side effects that break other things.

If it is a link that is too long, you'll want to look at word-break: break-all or something for the a tags/hyperlinks.

If you can't get the page to work, try sharing a screenshot by uploading it to some free service and sharing the link here.

Good luck!

Oliver Domina
Oliver Domina
2,382 Points

Im sorry I gave you the wrong url. I edited above and here it is again:

http://www.fanaticmagazine.com/

I will try the overflow thing now. I dont think there is any long link or anything but i will double check that too. Thanks for your response!

Oliver Domina
Oliver Domina
2,382 Points

Im sorry I gave you the wrong url. I edited above and here it is again:

http://www.fanaticmagazine.com/

I will try the overflow thing now. I dont think there is any long link or anything but i will double check that too. Thanks for your response!