Code Snippets → WordPress → Change Avatar Size Change Avatar Size Chris Coyier on Sep 4, 2009 The wp_list_comments function has a parameter to change the default (48px) size to anywhere between 0 and 80px. wp_list_comments('avatar_size=80');
Though you may use css for that.
CSS is going to scale the img, which will pixelate it. This technique fetches an img sized the way you want it, which is the better way to go.
I wish I’d found this site before, there is great information. I was looking for this code
Ahh.. so easy… why didn’t i get this two weeks earlier :)
I WANT TO CHANGE FONT AND THE COLOR ON MY SCRENE
Where does this go? In CSS? In comments.php? Somewhere else?
You would place this in the function that is displaying your comments. (In comments.php)
Example:
Good luck!
No. You’d place this code in a custom function in your child theme otherwise you’ll lose it when you update WordPress.
Will this work with .comments TD?
how i can change align of my avatars
In the stylesheet, of course
I spent so much time trying to figure the resize out. Thank you for your help, Josh!
Mate, you’ve made my day!
Cheers
Thank you so much.