View Full Version : Avatar Size In Recent Block
Wordplay
05-02-2012, 01:58 PM
where or how do i change the size of the avatar to a fixed size in the block_recentpost template? i can't seem to make it adapt any height or width i set in there.
I don't have a block_recentpost template - do you mean block_newposts? (Is it a block or a cms widget?).
You could try this: edit the additional.css template and add this:
.block .widget_post_useravatar img {
height: auto;
max-width: 30px !important;
width: 30px;
}
and change the width and max width to whatever you want.
Wordplay
05-03-2012, 06:45 AM
yes sorry i ment block_newposts and thank you very much for the code, it worked perfectly.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.