Do you want to modify the gravatar size (comment or author profile picture size) with by using the code? Then you came to the right place.
By default in Genesis, The size of gravatar is small to all the author’s and also for the users who comments. The way to increase the size of gravatar is only by function code not with CSS (because, by applying styles to gravatar of width and height, Only the image would stretch).
Here we have posted the code snippets that will help you to increase or decrease the image size of gravatar. Just follow the below guide.
Read also: Display a Custom Gravatar for Your Comments, Modify the Comments Link Text
Let’s not waste time and get to the point.
Modify Gravatar Size Genesis
Below we have embedded the code that you need to put in your theme then modify the size of gravatar. For that: copy the below code and paste it into your Genesis child theme’s functions.php file.
After that, change the gravatar size (return value of the function) from “80” to whatever you want.
Code to modify the size of the Gravatar
That’s it.
If you guys have any questions or wanna say something about this post, let us know in the comment box. also, if this guide helped you, please share it.