Home > Writings > Wordpress >> Changing the size of the gravatar
Too big? Too small? This tutorial will show you how to change the size of your gravatar according to the dimensions of your liking.
1. First, go to your root directory and look for the /wp-includes folder.
2. Open the folder and look for comment-template.php.
3. Find this line:
$defaults = array('walker' => null, 'max_depth' => '', 'style' => 'ul', 'callback' => null, 'end-callback' => null, 'type' => 'all', 'page' => '', 'per_page' => '', 'avatar_size' => 64, 'reverse_top_level' => null, 'reverse_children' => '');
4. Change the value of 'avatar_size' to the size you want.