How to add custom class to get_avatar()
The get_avatar() function has many arguments, the last one is the interesting one, because you can pass additional classes, also described in the codex. So instead of get_avatar( $comment, $args[‘avatar_size’] ); you could use get_avatar( $comment, $args[‘avatar_size’], ”, ”, array(‘class’ => ‘myclass’) );