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 trialCharlotte Neese
1,823 PointsOn 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.
Matthias NΓΆrr
8,614 PointsCan you please post how you fixed the problem?
3 Answers
Matt Laws
Front End Web Development Techdegree Student 24,108 PointsIn your media query have you tried - vertical-align: top?
Kreig Durham
8,829 PointsIf 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
932 PointsJust 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
Charlotte Neese
1,823 PointsCharlotte Neese
1,823 PointsFigured out where I messed up. --Thank you