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 trialShelby Smith
2,374 PointsProfile Picture will not change to a circle in my webpage.
It has been going on for the past couple days i have written and rewritten the code about 6 times and the picture still isnt going to a circle. Please help.
5 Answers
Jonathan Martinez
Full Stack JavaScript Techdegree Student 6,439 PointsIt won't list the code for some reason, but you should make sure your HTML is correct.
Chris Wise
1,501 PointsPost the code you are trying.
Shelby Smith
2,374 Points.profile-photo { display: block; max-width: 150px; margin: 0 auto 30px; border-radius: 100%; }
Jonathan Martinez
Full Stack JavaScript Techdegree Student 6,439 PointsOn your about.html page under <section>, do you have <img src="img/yourface.jpg" alt="your alt tag" class="profile-photo"> ? This should be above the <h3> tag. If the html is correct and the CSS is correct, try clearing your browsers cache and cookies. You can do that by heading over to your browsers history section.
Añuli Scarlett
1,084 PointsI had issues with that too. I'm not sure if you made an error in the HTML, but if that's fine, try adding "clear: both;" as a declaration.
Shelby Smith
2,374 PointsThank you but it was just an issue with my html