Hi Carsten,
My assumption is some css causing it. Will check in the day on the site and assit.Regards
BrajeshJust had a look at your screenshot and you can see the last rule is forcing 50px.
Regards
BrajeshHi Brajesh, thank you again for spotting this issue.
This is not a custom css, neither from the buddypress.min.css file, so where does this rule belong?Apparently it is not possible to overwrite in custom css, so how can I delete or change this?
img[Attributes Style] { width: 50px; aspect-ratio: auto 50 / 50; height: 50px; }
Regards
CarstenHi Carsten,
I am sorry, that is coming from avatar attributes and that’s why you are unable to change.1. have you changed the avatar thumb size? It seems that BuddyPress is still utilizing the size ’50px’ for thumb leading to the issue.
Regards
BrajeshHi Brajesh, thanks for the clarification.
1. Yes, the avatar thumb size has been changed to 110px.
if ( ! defined( 'BP_AVATAR_THUMB_WIDTH' ) ) define( 'BP_AVATAR_THUMB_WIDTH', 110 ); //change this with your desired thumb width if ( ! defined( 'BP_AVATAR_THUMB_HEIGHT' ) ) define( 'BP_AVATAR_THUMB_HEIGHT', 110 ); //change this with your desired thumb height if ( ! defined( 'BP_AVATAR_FULL_WIDTH' ) ) define( 'BP_AVATAR_FULL_WIDTH', 450 ); //change this with your desired full size,weel I changed it to 260 :) if ( ! defined( 'BP_AVATAR_FULL_HEIGHT' ) ) define( 'BP_AVATAR_FULL_HEIGHT', 450 ); //change this to default height for full avatar
Regards
Carsten- This reply was modified 1 year, 7 months ago by calu.
Hi Carten,
Can you please try re-uploading your profile photo to see if it regenerates?
Also, have you put the code in bp-custom.php or somewhere else?Regards
BrajeshHi Carsten,
That’s strange. The who’s online widget takes dimensions of thumbnail, so that should have worked. I will ask @ravisharma to test and assist.Regards
BrajeshHi Brajesh, yes it is a bit strange, as the same avatar appears in the correct size 110x110px in the other widget.
Thanks, I appreciate Ravi is looking into this issue.
Regards
CarstenHi Carsten,
Hope you are doing well.Ravi checked and reported that BuddyPress Who’s online avatar block has the 50px hard coded. Any chance you are using that block?
You must be logged in to reply to this topic.