Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Change Avatar in Postbit (Generic Theme)
#1
[Image: 300x150-avatar.png]

What I'm aiming here is to have a 150x300 avatar so just edit the details below according to your preference.

First set your fixed dimensions:
ACP > Configuration > Show Thread Options > Maximum Avatar Dimensions in Posts: 150x300
ACP > Configuration > Profile Options > Default Avatar Dimensions: 150|300
ACP > Configuration > Profile Options > Maximum Avatar Dimensions: 150x300


Then go to "Templates & Style > Templates > Generic > Post Bit Templates > Postbit_Avatar"
Change this:
Code:
<div class="author_avatar"><a href="{$post['profilelink_plain']}"><img src="{$useravatar['image']}" alt="" {$useravatar['width_height']}></a></div>
To:
Code:
<div class="author_avatar"><a href="{$post['profilelink_plain']}"><img src="{$useravatar['image']}" style="width: 150px;"></a></div>



Then Go to "Templates & Style > Themes > Generic > Global.css > Advance Edit"
Change this:

Code:
.post .post_author div.author_avatar img {
    padding: 0px;
    border: 0px solid #5e646e;
    background: #2d3139;
    height: 100px;
    width: 100%;
}

to:

Code:
.post .post_author div.author_avatar img {
    padding: 0px;
    border: 0px solid #5e646e;
    background: #2d3139;
    height: 100%;
    width: 150px;
}


Also if you want to change the Avatar in Profile Page:
"Templates & Style > Templates > Generic > Member Templates > member_profile_avatar"

Change this:

Code:
<img src="{$useravatar['image']}" alt="" {$useravatar['width_height']}>
To: 

Code:
<img src="{$useravatar['image']}" style="width: 150px;">
[+] 1 user says Thank You to MrDangem for this post
Reply
  


Forum Jump:


Users browsing this thread:
1 Guest(s)

How to Change Avatar in Postbit (Generic Theme)00