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
Luke Eubank
2,051 PointsProfile pic is extremely big for some reason?
Profile pic is extremely big for some reason?
2 Answers
geoffrey
28,736 PointsCould you post your code to give us an idea of what could be the reason ? Without the code, I would say, try to apply a max-width to the image.
exemple:
img{
max-width:50%;
}
Luke Eubank
2,051 Points.profile-photo {
display: block;
max-width: 150px
margin: 0 auto 30px;
border-radius: 100%;
}
geoffrey
28,736 PointsOk, with the snippet you 've just posted, your picture , at least the width shouldn't be bigger than 150px. Is it the case ? Try to lower the value of max-width, and refresh to see if the image is smaller...
PS: I edited your code, try to have a look at the Markdown Cheatsheet, It helps to format your code correctly, and this way the code is more readable.
:)