• sharongraylac

    (@sharongraylac)


    Hi there!

    For some reason the avatar on comment replies is smaller than the avatar for the original comment.

    Any idea how I can make them both the same size? I’ve been fiddling with this for hours, and cannot figure this out!

    I’d also like to make them circular, but it’s less important than consistency.

    Here’s a sample post.

    Thanks SO much!
    Sharon

Viewing 3 replies - 1 through 3 (of 3 total)
  • Rushin

    (@rushinparmar)

    set following class
    .abh_tab_content .abh_image img {max-width:150px;} which with you want
    .photo {width: 150px;}

    Thread Starter sharongraylac

    (@sharongraylac)

    Thanks, Rushin.

    The problem is when I change the size of image of the avatar photo in the css, it just stretches the image and makes it blurry.

    This is the code I just added (the “.abh_tab” label is actually for Starbox, so I left this out):

    .comment-avatar .photo {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    }
    .children .comment-avatar .photo {
    width: 60px;
    height:60px;
    border-radius: 30px;
    }
    I have a feeling the size I need to change is in the php, but I can’t seem to figure out where.

    Any thoughts?

    Thanks again!
    Sharon

    Thread Starter sharongraylac

    (@sharongraylac)

    P.S. I’ve heard all I need to do is add this to my comments.php:

    <?php wp_list_comments(‘avatar_size=45’); ?>


    My original code was this:

    <?php wp_list_comments(array( ‘callback’ => ‘mnky_comment’ ));?>

    Then I changed it to this:

    <?php wp_list_comments(array( ‘callback’ => ‘mnky_comment’, ‘avatar_size=60’)); ?>

    This finally made both the comment and child comment show up as the same size, but the children comment is still blurry.

    What in the world am I doing wrong? I appreciate the help!

    Thanks again!
    Sharon

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I change avatar size for comment replies?’ is closed to new replies.