Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
seal-mask
.a{fill-rule:evenodd;}techdegree
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