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

HTML How to Make a Website Responsive Web Design and Testing Adjust the Profile Page and Header

Charlotte Neese
Charlotte Neese
1,823 Points

On my about page-when I shrink the browser to mobile size, my profile picture and paragraphs do not align to one column.

I cannot seem to figure out where I messed up my code. The page stays two columns.

Charlotte Neese
Charlotte Neese
1,823 Points

Figured out where I messed up. --Thank you

Matthias NΓΆrr
Matthias NΓΆrr
8,614 Points

Can you please post how you fixed the problem?

3 Answers

Kreig Durham
Kreig Durham
8,829 Points

If you're still having troubles, can you post the code for the css in a comment so we can see what might have happened?

Kaysha George
Kaysha George
932 Points

Just need to move the closing curly brace from your first media query to after this bit of code. Example:

@media screen and (480px) {

.profile-photo { float: left; margin: 0 5% 80px 0; }

} <----------- That is the curly brace I was missing when this code wasn't working for me. I had it sitting before my .profile-photo, so that it was excluded from my media query.... Doh