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

Profile image only showing half of circle...

After adding the media query to allow my profile photo to float left, when viewed in desktop mode the image only shows half a circle. And then when the browser is shrunken down the image does not float left.

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

In the upper right hand corner of your workspace you'll find a camera icon. Click that to make a snapshot of your workspace and link it here. This way we can examine all parts of your code and file and directory structure. This makes it much easier to help you :)

3 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Ah ha! I found another solution to the half circle thing and it was in your crop-image profile-image css. Here's a look at what I did:

.crop-image{
    height:200px;
    width:200px;
    position:relative;    
    border-radius:100%;
    overflow:hidden;
    margin: 0 auto;
}

.profile-photo{
    position:absolute;
    margin: 0 auto;
    height:auto; width:100%;
}

Many thanks!

All good, turned out my profile image was in a div, due to a size issue i had earlier. I just had to call it what the class was called in the div and its worked.