Support » Plugin: Authors Widget » Request: gravatar spacing and list bullet settings

  • Have modified the plugin to remove the bullet and lack of spacing between the gravatar and an author’s name. Tried to put it in the site’s style.css but that didn’t work for some reason. Would be great to add these options to the settings of the plugin:

    .avatar {vertical-align:middle; margin-right: 5px;}
    .widget ul li {background-image: none; padding: 0;}

    margin-right: 5px; was an answer to another question. The last line is what I had to do to remove the bullet and left align the gravatar image.

    As I edited the plugin file I expect I’ll have to re-edit the php file after a plugin update.

    https://wordpress.org/plugins/authors/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author flocsy

    (@flocsy)

    Why would you need to edit the php file of authors for this? Just do this in your own template or the css file included in your template. The only reason why you would have to touch this again is if authors widget will ever change the html format in the future. But I don’t think it’ll happen soon.

    The plugin has the offending CSS code inside it, overruling the theme CSS.

    Will have another look at the file, as you could guess I don’t spend much of my time digging through code. So highly likely I didn’t format the theme CSS right when I tried it that way.

    Thank you for the plugin BTW, much appreciated.

    Plugin Author flocsy

    (@flocsy)

    Try adding !important to your css:

    .avatar {vertical-align:middle !important; margin-right: 5px !important;}
    .widget ul li {background-image: none !important; padding: 0 !important;}
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Request: gravatar spacing and list bullet settings’ is closed to new replies.