WordPress.org

Ready to get started?Download WordPress

Forums

Post Author Box
[resolved] CSS control of avatar (4 posts)

  1. nextuniverse
    Member
    Posted 3 years ago #

    Hi everyone, does anyone know how to control the sizing and position of the avatar? I would like to scale it down to 30x30px, with the image floating left and a padding of 5px. I'm not sure how to call and control the avatar, pretty new at this. Thanks so much for your help!

  2. lrivers
    Member
    Posted 3 years ago #

    Here's the selector for the avatar: .post_author_box img.photo

    So, you'd set the width and height and padding in that rule, like so:

    .post_author_box img.photo { width: 30px; height: 30px; float: left; padding: 5px; }

    By the way, Firefox and the plugin Firebug will make it much easier to figure out what is controlling the appearance of a part of your page.

  3. nextuniverse
    Member
    Posted 3 years ago #

    thanks so much for the help! it's very appreciated.

  4. yghhht
    Member
    Posted 2 years ago #

    Could you tell me where can I find this selector? I'm so newby with this stuff.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic