Hi there avatar crop preview window, which exceed the frame of the mobile screen, on desktop it is fine.
https://imgur.com/sRMo7ks
https://imgur.com/3rcu1E2I have tried different selectors and properties, but I’m not able to find the right one to keep the preview window inside the frame.
Any help would be appreciated, thanks!
Regards
CarstenHi Carsten,
You will need some css assistance. Also, different mobile screens have different view port sizes, so you will need to define in which screensize you want to keep it all inside the view.Since it needs custom css for your s[specific theme, I will suggest hiring a developer familiar with your theme to assist you with it.
Regards
BrajeshHi Brajesh, thanks for the suggestions, I located the issue to be with these avatar settings, apparently the size setting is to big, I don’t know why the avatar is not centered in the view frame. Is the view port defined by Thump or Full Width avatar size?
I’m not sure why I added this code in the first place
Regards
Carsten// IMPORTANT! ÆNDRING AF AVATAR SIZE if ( ! defined( 'BP_AVATAR_THUMB_WIDTH' ) ) define( 'BP_AVATAR_THUMB_WIDTH', 120 ); //change this with your desired thumb width if ( ! defined( 'BP_AVATAR_THUMB_HEIGHT' ) ) define( 'BP_AVATAR_THUMB_HEIGHT', 120); //change this with your desired thumb height if ( ! defined( 'BP_AVATAR_FULL_WIDTH' ) ) define( 'BP_AVATAR_FULL_WIDTH', 500); //change this with your desired full size,weel I changed it to 225,300 :) if ( ! defined( 'BP_AVATAR_FULL_HEIGHT' ) ) define( 'BP_AVATAR_FULL_HEIGHT', 500); //change this to default height for full avatar
Hi Carsten,
Thank you for letting me know. It’s good to know that you resolved it.Regards
Brajesh
The topic ‘ [Resolved] Keep avatar crop preview window inside frame’ is closed to new replies.