Support » Plugin: WP User Avatar | User Profile Picture » Can’t get avatar to left align

  • Resolved wpodeskstar

    (@wpodeskstar)


    I have added the following code to my theme in order to left align my avatars:

    echo get_wp_user_avatar( $comment, $avatar_size, ‘left’ );

    When I inspect the element of the image on my site, it says is using wp-user-avatar and is aligned left but … it’s not.

    I can’t edit the css code that it is using (.heatmapthemead-comment-article img) because customer needs images within comments to be centered.

    Thanks for any help.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • wpodeskstar

    (@wpodeskstar)

    Nevermind; I figured it out.

    .comment-author img {
    margin-bottom: .5em;
    float: left !important;
    }

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.