View previous topic
::
View next topic
|
Author |
Message |
ramon fincken Site's programmer
 Get a free globally recognized avatar It's free!
Joined: 03 Aug 2007 Posts: 414 Location: A'dam/Diemen, The Netherlands
|
Posted: Sun Mar 22, 2009 12:21 pm Post subject: [solution][wordpress] Change the size of your gravatar/avatar |
|
|
Here's a howto to change the avatar size to 64*64 pixels.
Tested with gravatar at 2.7.1
Keep in mind that if there is any CSS like:
Code: | .commentlist .comment-author img.avatar {
display: block;
float: left;
height: 16px;
width: 16px;
margin: 0 4px 0 0;
} |
you'll need to change it to:
Code: | .commentlist .comment-author img.avatar {
display: block;
float: left;
//height: 16px;
//width: 16px;
margin: 0 4px 0 0;
} |
Code: | OPEN
wp-content/themes/[yourtheme]/comments.php |
Code: | FIND
wp_list_comments(); |
Code: | REPLACE WITH
wp_list_comments(array('avatar_size'=>64));
// Changed avatar size to 64
// http://www.ramonfincken.com/permalink/topic136.html |
Linked at:
http://wordpress.org/support/topic/2148...st-1022994 |
|
Back to top |
|
 |
Google adsense Advertisement
|
Posted: Sun Mar 22, 2009 12:21 pm Post subject: [solution][wordpress] Change the size of your gravatar/avatar |
|
|
Advertisement
|
|
Back to top |
|
 |
GravityForms Advertisement
|
Posted: Sun Mar 22, 2009 12:21 pm Post subject: [solution][wordpress] Change the size of your gravatar/avatar |
|
|
Advertisement
 |
|
Back to top |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|