• After enabling the widget, i notice that the avatars are tight close to the nick of the person who made the comment. I browsed through the plugin and added some padding to the right of the avatar.

    In line 128 (comments.php) of the plugin, replace the line for this:

    echo ($options[‘avatar’] == ‘on’ ? ‘<tr><td id=”poi3″>’ . get_avatar($comment, (empty($options[‘avatar-size’]) ? 25 : $options[‘avatar-size’])) . ‘</td><td>’ : ‘<li class=”recentcomments”>’);

    ?>
    <style type=”text/css”>
    #poi3{ padding-right:10px; }
    </style>
    <?php

    I added an id (poi3) and styled with 10px padding to the right. Now the recent comments with Avatars works perfectly 😉

    I don’t know if there’s another way to gave a little padding to the avatar, if there is sure ain’t that easy. In my opinion, this little change could be included in future releases of the plugin or, if the author want to have the trouble, include a nice way for the user in the administration area gave himself the values of padding through a menu.

    http://wordpress.org/extend/plugins/recent-comments-with-avatars/

Viewing 1 replies (of 1 total)
  • You can just use the Stylesheet and do it.
    Worked perfectly fine.
    I can’t get borders between the single comments, though.
    I’ve tried everything.
    Andybody has any ideas?

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Recent Comments with Avatars] Add padding to the Avatar’ is closed to new replies.