Top Poster
#1 ramon fincken 311
#2 cklkwjoik3as 6
#3 Site admin 3
#4 Ber|Art 2
#5 braddmark 1
#6 accentmedia 1
#7 Xarzu 1
#8 pEcosespedex 1
#9 moxxx 1
#10 Justin-ServerPilot 1
[solution][wordpress] Change the size of your gravatar/avatar



Rating : 3 / 5

 
Post new topic   Reply to topic    Ramonfincken.com Forum Index -> CMS-ses (Joomla, WordPress, etc..)
Beta
Want to be notified by email when this topic gets a reply?  
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: 311
Location: A'dam/Diemen, The Netherlands

PostPosted: Sun Mar 22, 2009 12:21 pm    Post subject: [solution][wordpress] Change the size of your gravatar/avatar Reply with quote

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
View user's profile Send private message Visit poster's website
Google adsense
Advertisement





PostPosted: Sun Mar 22, 2009 12:21 pm    Post subject: [solution][wordpress] Change the size of your gravatar/avatar

Advertisement
Back to top
GravityForms
Advertisement





PostPosted: Sun Mar 22, 2009 12:21 pm    Post subject: [solution][wordpress] Change the size of your gravatar/avatar

Advertisement
Gravity Forms Plugin for WordPress
Back to top
Post new topic   Reply to topic    Ramonfincken.com Forum Index -> CMS-ses (Joomla, WordPress, etc..) All times are GMT
Page 1 of 1

 
Jump to:  
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
General forums
The world of freelance
Programming
Other projects
Poll
I love gifts

Yes goodies and presents! [2]
No but I love polls ! [0]

Related google ads