Title: Avatar Display In Comments Section Wrong
Last modified: August 21, 2016

---

# Avatar Display In Comments Section Wrong

 *  [grizzlytizzy](https://wordpress.org/support/users/grizzlytizzy/)
 * (@grizzlytizzy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/avatar-display-in-comments-section-wrong/)
 * Hello, I recently set up the Constructor theme on my blog, and now I’ve noticed
   that the avatar placement on comment replies to other comments is on the right
   side, as opposed to the left, whereas for the rest of the comments it stays on
   the left, where I’d prefer it to be.
 * I’ve already used Firebug to track down the code that’s overriding the float:
   left setting; it looks like this, and is from css.php (referred to this file 
   from style.css:
 *     ```
       switch ($options['comments']['avatar']['pos']) {
           case 'left':
               $avatar_pos = "float: left;\n    margin: 0 10px 10px 0;";
               $avatar_author = "float: right !important;\n    margin: 0 0 10px 10px !important;";
               break;
           case 'right':
           default:
               $avatar_pos = "float: right;\n    margin: 0 0 10px 10px;";
               $avatar_author = "float: left !important;\n    margin: 0 10px 10px 0 !important;";
               break;
       ```
   
 * But I’ve edited and it completely deleted it, and nothing happened. In fact, 
   deleting the code, I then inspected the avatar with firebug once more, and it
   still showed the code as being there.
 * I imagine something in WordPress’ core functions is responsbile, but I don’t 
   know how to get at it…
 * Thanks for any help! Here’s a link if it helps to a post with comments:
    [http://www.psihosuport.ro/psiholog/2012/11/cum-sa-treci-peste-o-despartire/#comment-1398](http://www.psihosuport.ro/psiholog/2012/11/cum-sa-treci-peste-o-despartire/#comment-1398)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/avatar-display-in-comments-section-wrong/#post-3853591)
 * Try posting via [http://wordpress.org/support/theme/constructor](http://wordpress.org/support/theme/constructor)
 *  Thread Starter [grizzlytizzy](https://wordpress.org/support/users/grizzlytizzy/)
 * (@grizzlytizzy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/avatar-display-in-comments-section-wrong/#post-3853602)
 * I’ll try, but I see that it isn’t a very active forum in any sense of the word.
   I assume then that you think it is a theme-specific problem? Any idea on which
   files I should check in, besides the two I already mentioned? Thanks!
 *  Thread Starter [grizzlytizzy](https://wordpress.org/support/users/grizzlytizzy/)
 * (@grizzlytizzy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/avatar-display-in-comments-section-wrong/#post-3853617)
 * Also, forgot to mention, I have set up WP User Avatar, so maybe it’s responsible
   as well, although it doesn’t seem likely to me.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/avatar-display-in-comments-section-wrong/#post-3853618)
 * Have you tried:
 * – deactivating **all** plugins to see if this resolves the problem. If this works,
   re-activate the plugins one by one until you find the problematic plugin(s).
 * – switching to the default theme to rule out any theme-specific problems.
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause
   problems.
 *  Thread Starter [grizzlytizzy](https://wordpress.org/support/users/grizzlytizzy/)
 * (@grizzlytizzy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/avatar-display-in-comments-section-wrong/#post-3853627)
 * It definitely seems to be theme-specific because switching back to the old one
   eliminated the problem, and deactivating WP User Avatar didn’t have any effect
   on it.
 * Anyhow I found the code there in css.php and deleted it to see if it would change
   anything, but not only did it look exactly the same, Firebug displayed the code
   as still being there, from the same file and line.
 * Since it’s theme-specific it seems and not from core functions, then what other
   files from within the theme could be controlling it? Maybe there’s something 
   in css.php I’m overlooking…
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/avatar-display-in-comments-section-wrong/#post-3853629)
 * As this is theme specific, try asking via [http://wordpress.org/support/theme/constructor](http://wordpress.org/support/theme/constructor)
 *  Thread Starter [grizzlytizzy](https://wordpress.org/support/users/grizzlytizzy/)
 * (@grizzlytizzy)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/avatar-display-in-comments-section-wrong/#post-3853638)
 * I’ve posted there, but I’m hoping someone here will point me in the right direction
   to track down the renegade code. I searched through all of the rest of the pages
   for anything in connection with “{$avatar_author}” and can’t find it.
 * That’s the part of the code the rest of what I quoted is referring to. The settings
   mentioned above were referred to in the CSS as .bypostauthor, and in style.css
   it referred it to css.php, at which point it defined this as {$avatar_author}.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/avatar-display-in-comments-section-wrong/#post-3853639)
 * Let’s just limit any further discussion to [http://wordpress.org/support/topic/avatar-display-in-comments-section-wrong-1](http://wordpress.org/support/topic/avatar-display-in-comments-section-wrong-1)

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Avatar Display In Comments Section Wrong’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/avatar-display-in-comments-section-wrong/#post-3853639)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
