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 How to Make a Website Responsive Web Design and Testing Adjust the Profile Page and Header

Owen Tran
Owen Tran
6,822 Points

On my abouts page in mobile view, my pic is disappears from view.

On my about page in mobile view, my pic disappears from view but a scroll bar appears at the bottom. When I scroll right you can see I the pic. At each break point the pic is in the correct position.

On my main.css if I remove the display: block from .profile-photo, it seems to solve the issue somewhat but it is still not centralized.

I tried removing the float:left from header {} which returns the pic centrally but then at the 660px break point everything gets messed up.

Everything else works.

It was working a few days ago, not sure what did to mess it up.

If I remove everything from my responsive.css it still does not resolve the problem.

2 Answers

Colin Marshall
Colin Marshall
32,861 Points

Are you using FireFox? If so, you need to add this to your profile-photo class.

clear: both;

See the Teacher's Notes here for more info.

Owen Tran
Owen Tran
6,822 Points

Thank you. It's working perfect now. Yes I'm using firefox.