Avatar overlapping with post comment
-
you should see about internal style sheet
The theme supports author gravatars from https://en.gravatar.com/. If the user has a gravatar it will be correctly sized. Images from other sources will use the comment-author image container inline styles which result in what you’re seeing on your site.
@bdbrown, any tips on how to solve this? Thank you!
Either (a) ask your authors to create a gravatar at the link I posted above, or (b) add this custom CSS to your theme:
.comment-author .avatar { height: 48px !important; width: 48px !important; }Thanks for your help. Although that custom CSS lines didn’t fix my problem (God knows why), it lead me to this solution:
on comments.php i changed avatar_size from 96 to 48 and it fixed my problem:
<ol class="commentlist"> <?php wp_list_comments( 'avatar_size=48&type=comment' ); ?> </ol><!--/.commentlist-->Glad that works. Only comment I would make is that it doesn’t appear that you’re using a child theme. If you’ve changed the default theme comments.php template file your changes will be lost the next time you update the theme. You can easily set up a child theme following the instructions here:
http://docs.presscustomizr.com/article/239-using-a-child-theme-with-hueman
Then copy the theme comments.php file to your child theme. Your site will then use the child theme copy. Only thing you need to worry about is, the next time the theme is updated, checking the comments.php file to see if there are any changes to the code. If there are, you would copy the new version to your child theme and reapply your changes if they’re still needed.@bdbrown Thank you very much for your help! I’ll create a child theme following your instructions. Thank you! Have a wonderful day!
You’re welcome; glad to help.
The topic ‘Avatar overlapping with post comment’ is closed to new replies.

(@xng27)
9 years, 11 months ago
Please help me fix this, already tried some solutions gave in this forum, but nothing changed. The user’s avatar is overlapping with their comments. How can I fix this?
Please check this link: http://www.udabol.edu.bo/blog/comparte-tus-conocimientos-y-gana-premios-en-la-fecit-2016-del-13-al-18-de-junio/#comment-6
I am using Hueman v3.1.6