WordPress.org

Forums

Authors Widget padding (4 posts)

  1. shannonodom
    Member
    Posted 2 years ago #

    I am using the Authors Widget to create a list in my sidebar. The avatars are all touching. Is there a way to add padding to the avatars?

  2. flocsy
    Member
    Posted 2 years ago #

    you can edit your stylesheet to add padding. This here explains how to add margin, padding should be not difficult to do as well:

    http://blog.fleischer.hu/wordpress/authors/comment-page-1/#comment-28456

  3. shannonodom
    Member
    Posted 2 years ago #

    I added

    .widget_authors li {
        padding:0 0 10px 0;
    }

    to the theme style sheet with no luck. Am I doing something wrong?

  4. flocsy
    Member
    Posted 2 years ago #

    I guess that another stylesheet overrides this. Try adding some id-s as well:

    #sidebar .widget_authors li {
    padding:0 0 10px 0;
    }

    or

    #sidebar ul li.widget_authors ul li {
    padding:0 0 10px 0;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.