The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
how to center avatar on postbit_legacy content
Well.
I need to center avatar of the member in my forum. But avatar this always of the left side of the forum. Somebody explain could me, as makes to center avatar? He follows the code below for evaluation and if possible could show to me where I need to modify so that avatar he is centered? Code:
<vb:if condition="$show['avatar']"> <a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}"> <img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /> </a> </vb:if> I tried to edit variables of the alignment and not to obtain success. Please!!! Help me. Regards |
#2
|
|||
|
|||
Edit postbit.css
Search: HTML Code:
.postbitlegacy .userinfo .postuseravatar, .eventbit .userinfo .eventuseravatar { display:block; margin:{vb:math {vb:stylevar padding}/3} auto 0; text-align:{vb:stylevar left}; width: auto; float: {vb:stylevar left}; clear: both; } HTML Code:
.postbitlegacy .userinfo .postuseravatar, .eventbit .userinfo .eventuseravatar { display:block; margin:{vb:math {vb:stylevar padding}/3} auto 0; text-align:center; width: auto; clear: both; } |
#3
|
|||
|
|||
Sorry any inconvenience. But this method don't work.
u have another method? regards |
#4
|
|||
|
|||
Which is your vBulletin version?
|
#5
|
||||
|
||||
|
#6
|
|||
|
|||
Quote:
Working fine here onto Vb4.0.3 Patch Level 1 No my vb. I'm only webdesigner. the forum in question is Code:
http://www.clangsm.com.br |
#7
|
|||
|
|||
What Lynne posted is the same that I posted.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|