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!

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 Adding Pages to a Website Style New Pages

Profile 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

Post the code you are trying.

.profile-photo { display: block; max-width: 150px; margin: 0 auto 30px; border-radius: 100%; }

Jonathan Martinez
Jonathan Martinez
Full Stack JavaScript Techdegree Student 6,439 Points

On 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.

I 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.

Thank you but it was just an issue with my html