Replies

Jan 15, 2017 9 years ago
SoulFinder
made a living
User Avatar

Hi!

I'm trying to change the width of pet headshots on my profile.

Quote

.data div.avatar_head {

border-radius: 8px !important;

max-width: 60px !important; Changing this to 100px

height: 60px !important;
}

However, not all the pet headshots resize correctly. See example here.

Does anyone have a suggestion to why? I'm a complete noob to CSS.

Thank you!

Jan 16, 2017 9 years ago
nene
User Avatar
Angora

the easiest way is to add this in: background: ;

so your code would look like .data div.avatar_head { border-radius: 8px !important; max-width: 100px !important; height: 60px !important; background: ; }

and no worries, the CSS is correct. it's just that some of your pets' headshots are cropped too closely to the right of the actual pet overlay image... if that makes any sense.

Jan 16, 2017 9 years ago
SoulFinder
made a living
User Avatar

Sweet! Thank you so much for the help. :)

Jan 16, 2017 9 years ago
nene
User Avatar
Angora

no problem at all (and gosh, thank you)!

Please log in to reply to this topic.