Hello @tedtang
The layout of the profile is responsive. The default profile photo size is 190px
. The profile photo size is 140px
if the profile area is wider than 500px but narrower than 960px. The profile photo size is 100px
if the profile area is narrower than 500px.
You can override the style by adding CSS code to the field “Additional CSS” on the page wp-admin > Appearance > Customize > Additional CSS. Use classes uimob960
, uimob800
, uimob500
, uimob340
to specify styles for smaller screens.??? See the example below. This example changes profile photo visible size to 150px, but you can use another size.
/**
* The profile photo size
*/
.um.um-profile .um-header .um-profile-photo{
top: 0px !important;
}
/* profile photo size for large devices (Desktop) */
.um.um-profile .um-header .um-profile-photo .um-profile-photo-img{
top: calc(-150px/2 - 5px);
width: 150px;
height: 150px;
max-width: 150px;
box-sizing: content-box !important;
}
/* profile photo size for medium devices (Tablet) */
.uimob960.um.um-profile .um-header .um-profile-photo .um-profile-photo-img,
.uimob800.um.um-profile .um-header .um-profile-photo .um-profile-photo-img{
top: calc(-150px/2 - 5px) !important;
width: 150px !important;
height: 150px !important;
max-width: 150px !important;
}
/* profile photo size for small devices (Mobile) */
.uimob500.um.um-profile .um-header .um-profile-photo .um-profile-photo-img,
.uimob340.um.um-profile .um-header .um-profile-photo .um-profile-photo-img{
top: calc(-150px/2 - 5px) !important;
width: 150px !important;
height: 150px !important;
max-width: 150px !important;
}
Regards