Tagged: featured members buddypress
What is the current value. It should be in the range BuddyPress allows(controlled by thumb,full which is normally upto 450 px).
Can you please post me what value are you using? Also, Is there any chance that you are overriding the featured members list template?
Regards
BrajeshHi Nick,
Thank you. That makes sense.
Please compare your overridden template with the new one and update. we had to update the templates to pass the avatar size.Regards
BrajeshHi Nick,
We changed<?php bp_member_avatar(); ?>
to
<?php bp_member_avatar( bp_fm_get_avatar_args() ); ?>
In the template file.
Hope that helps.
Hey Brajesh,
I left this issue for a while as I had tasks of higher priority to complete first, just coming back to this one now.
I made the change in the template and have removed/modified the style changes i made to any avatar classes. Neither of these yielded a result for me.
Is there anything else you can recommend to fix this issue?
Regards,
Nick
Hi Nick,
No problem.I will suggest temporarily removing your custom template for the featured members and then trying to accommodate the changes from the past(Your own) to the currently shipped featured members.
Tried removing the plugin and reinstalling with the newest version as well as using just the template that comes with it and still had no luck changing the size. When i inspected the img element it said the height and width were what i set it to but its just being reflected in the image size.
Hi Nick,
That means your css is the issue. Please check that.Ok i fixed it all up, here is how I did it.
It wasnt my CSS that was affecting it, it was a bit of code in the buddypress CSS style sheet that was overwriting your avatar settings.
.widget.buddypress ul.item-list img.avatar
This was automatically set to 40px width and height, so no matter what I changed the avatar size to through the widget, it would not change.
Might be something for you to look into in case it pops up with anyone else. Thanks for your time and assistance in resolving this problem Brajesh.
The topic ‘ [Resolved] BP Featured Members Avatar Size’ is closed to new replies.