I'm using the Add Local Avatar plugin here:
http://wordpress.org/extend/plugins/add-local-avatar/
To apply formatting to avatars in posts, the instructions say to add something like this to the template's style.css file:
.post_avatar { padding: 2px; margin: 0; border: 1px solid #ddd; background: white; }
I did this but it had no effect on the style of my avatars.
When I view the source code for a page with an avatar, they have this class:
class='avatar avatar-80 avatar-default'
Should it say class='post_avatar'?
I should add that when I first installed the plugin I got the avatars showing simply by adding the following to my single.php and index.php files:
<?php echo get_avatar($post->post_author); ?>
Because this worked fine, I ignored the instructions telling me to put the following code "in your template files where you want avatars to appear:"
<?php $avtr = get_avatar(id [, size [, default-image-url]]); echo $avtr; ?>
I wasn't sure what "template files" to add this code to, so I tried both header.php and index.php. I also wasn't sure where to put the code in these files. Both produced a "parse syntax error" when loading the page. Plus - I'm not even sure if not having this code is causing the problem. I'm a noob with CSS.
I'm using the inove theme.
Thanks for any help.