Support Forum

Avatar Alignment in Recent Posts widget

SU SunRider
SunRider
Member

Please see “Recent Forum Posts” widget (bottom left) at www.srgv.ca

How can I get the avatars to align left rather than center?

5 Answers

New Answer

IK Ike
Ike
Member

Hey SunRider,

It looks like CSS from your WP theme is centering it by the look of things..

.col.centered-text img, .wpb_column.centered-text img, .col.center img {
     margin: 0px auto !important;
 }

Removing the auto margin does resolve it, but it may be used elsewhere on your page so instead of removing it, it might be better to try and find a way of being specific about the class and add a new rule to your stylesheet.

Using the inspector, I can see that the avatar sits inside of the div ID #spRecentPostsTag so you might want to try there, but I can’t add rules in the inspector so I’m not sure if it will work, might need to play around with it.

BC bart cocchiola
bart cocchiola
Member

Ike,

Could you please give a quick explanation on how to make the Avatars appear larger?

Thanks,

Bart

IK Ike
Ike
Member

Hey Bart,

Where do the avatars which you would like to change appear?

BC bart cocchiola
bart cocchiola
Member

with usernames to the left of posts in threads

IK Ike
Ike
Member

You should be able to re-size the forum avatars from the admin panel, see Forum > Profiles > Avatars – and I think it’s the top option.