Not Solved how to make avatars bigger in show thread?
#1
Not Solved
The avatars are kinda small in the default theme. Is there a way to make them bigger? 

I am having trouble finding the right template.
Reply
#2
Not Solved
Admin CP > Styles & Templates > Default Templates > Post Bit Templates > postbit_avatar

Find:

<div class="author_avatar"><a href="{$post['profilelink_plain']}"><img src="{$useravatar['image']}" alt="" {$useravatar['width_height']} /></a></div>

Replace with:

<div class="author_avatar"><a href="{$post['profilelink_plain']}"><img src="{$useravatar['image']}" alt="" style="width:100px; height: 100px;" /></a></div>

Replace both instances of '100px' with your desired dimensions.
My Projects | Discord: matty9719Do not PM me for support unless advised to do so.
Reply
#3
Not Solved
haha your the man. Thanks!
Reply
#4
Not Solved
No need change Template, Mybb have these settings :

 Admin CP -> Configuration  -> Show Thread Options -> Maximum Avatar Dimensions in Posts option 
 Admin CP -> Configuration  -> Profile Options -> Default Avatar Dimensions option 
 Admin CP -> Configuration  -> Profile Options -> Maximum Avatar Dimensions option 

 Admin CP -> Configuration  -> Member List  -> Maximum Display Avatar Dimensions option 


Also for Resize :
 Admin CP -> Configuration  -> Profile Options -> Avatar Resizing Mode option 
Reply
#5
Not Solved
(2023-05-25, 12:12 PM)Mostafa.Shiraali Wrote: No need change Template, Mybb have these settings :

 Admin CP -> Configuration  -> Show Thread Options -> Maximum Avatar Dimensions in Posts option 
 Admin CP -> Configuration  -> Profile Options -> Default Avatar Dimensions option 
 Admin CP -> Configuration  -> Profile Options -> Maximum Avatar Dimensions option 

 Admin CP -> Configuration  -> Member List  -> Maximum Display Avatar Dimensions option 


Also for Resize :
 Admin CP -> Configuration  -> Profile Options -> Avatar Resizing Mode option 

I tried those options and unfortunately it did not work. The edit template option was the only thing that would work for me.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)