The forum is in read only mode.
Hey, Can you tell me where can I change the default avatar size ? I would like 150px or 200px ( like facebook ) Witch CSS should be edited .
Hi, You can edit or override this file components/com_community/templates/jomsocial/layouts/profile/focus.php, find this code :
<img src="<?php echo $user->getThumbAvatar() . '?_=' . time(); ?>" alt="<?php echo $this->escape( $user->getDisplayName() ); ?>">
<img width="150" height="200" src="<?php echo $user->getThumbAvatar() . '?_=' . time(); ?>" alt="<?php echo $this->escape( $user->getDisplayName() ); ?>">
Hey thank you now the height is cool but the width is still the same.
I see, You can add new css code for this :
.joms-avatar--focus img{ width:150px !important; }
I'm using the default socialize template . What is the right CSS file ? ( I'm really dumb sorry )
you can add that code on this file components/com_community/templates/jomsocial/assets/css/style.css
Thank you, now it's bigger but still not 150px.. I don't know the reason why.. but thank you
glad to know that :)
JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a full -fledged, social networking site
TRY NOW BUY NOW