WordPress.org

Ready to get started?Download WordPress

Forums

Constructor
Avatar Display In Comments Section Wrong (1 post)

  1. grizzlytizzy
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.