Hi there,
Thanks for the question, I’m happy to help!
In the default widget settings, there is currently no way to modify the size of the avatar in the settings, as you’ve found. We don’t intend to modify this at this time, but there’s some good news:
- You could modify the widget with CSS by targeting the avatar class
- Or you could use the shortcode to render Better Recent Comments, which gives you access ot the avatar_size option
For example, this will show the comments with a much larger avatar:
[better_recent_comments number="15" date_format="F j, Y" format="{avatar} {author} on {post}: “{comment}” {date}" avatar_size="150"]
Where you can change the 150 value to fit your preferred size.
So while CSS might work, I’d recommend switching to the shortcode and using these values to generate the larger avatar.
Let me know if you have any questions!
Cheers,
Ian
Hello,
thank you for your complete answer. 👍
I tried the css but it had no effect on the display.
How and where can I insert the shortcode?
Thanks
Christophe
Hi there,
You can insert the shortcode just about anywhere in WordPress. Based on your current placement on the URL you provided, it appears you’re using a Widgetized footer. So to add this, you would go to the footer area, remove Better Recent Comments and add a Shortcode block instead.
Can you try that out and let me know if it works for you?
Hello,
I applied your recommendations and it works, thank you.
Christophe
Hello again,
how to add the time the comment was posted in the css
Thanks,
Christophe
Hello,
I found the answer to my question here : https://barn2.com/kb/better-recent-comments-shortcode/
Christophe
Hey Christophe,
Thanks for letting me know you found a solution to your most recent question! The Barn2 team originally developed this plugin and some of the documentation hasn’t been moved over. Thanks for bringing this to our attention 🙂
Please let me know if you have any further questions!
Ian