Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Ben

    (@bforchhammer)

    Add the following bits to your theme’s style.css and adjust the values as needed; vertical centering is hard to do, but you can use bottom padding on the .name rule to move the name upwards…

    html .multiwidget_author_avatars .author-list .user .name {
    	        padding: 0 0 5px 10px;
    	        /* padding: top right bottom left; */
    	}

    Hope this helps…

    Thread Starter jonastep

    (@jonastep)

    Unfortunately this didn’t do anything. I added the following to the bottom of my style.css file of my theme and it didn’t change anything in the sidebar widget.

    /*** AUTHOR AVATARS LIST ***/
    html .multiwidget_author_avatars .author-list .user .name {
    	        padding: 0 10px 15px 10px;
    	        /* padding: top right bottom left; */
    	}

    Any other suggestions?

    Plugin Contributor Ben

    (@bforchhammer)

    Ah, it seems that the plugin’s widget styles aren’t applied at all, because the widget block in which the avatars reside has a non-standard css class name (block-multiwidget_author_avatars instead of just multiwidget_author_avatars). I think you have two options:

    1. find the place in your theme (or plugin?) where the css class names of widgets get renamed, and change it back to the defaults (i.e. no block prepended to class names)
    2. copy all of the plugin’s css rules (from [aa-plugin]/css/widget.css) to your theme and replace all instances of multiwidget_author_avatars with block-multiwidget_author_avatars

    Either way should work, but if you choose the later you will obviously have to maintain that bit of css (and any possible changes in the plugin) yourself…

    Thread Starter jonastep

    (@jonastep)

    Worked. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Author Avatars List] Widget Text alignment and padding’ is closed to new replies.