The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Center Avatars
Hello,
I was give this code to plug into my css in order to get my avatars to be centered. /* center avatar in postbit legacy */ .postbitlegacy .userinfo .postuseravatar {text-align:center; } Where do I plug it in? If I go to Styles and Templates > ??? Where do i go from there and where, exactly, to I plug it in. Anyone know? |
#2
|
||||
|
||||
I already answered your question about this over on vb.com.
|
#3
|
||||
|
||||
Hi simple do this,
Admincp template administrator template.CSS Postbit.css and find .postbitlegacy .userinfo .postuseravatar, .eventbit .userinfo .eventuseravatar { display:block; margin:{vb:math {vb:stylevar padding}/3} auto 0; text-align:left; width: auto; } and change where says "left" to center have a nice day. |
#4
|
||||
|
||||
Quote:
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; } |
#5
|
||||
|
||||
Yes in 4.0.1 it works in did.
|
#6
|
|||
|
|||
I got it to center with
Code:
.postbitlegacy .userinfo .postuseravatar, .eventbit .userinfo .eventuseravatar { display:block; margin:{vb:math {vb:stylevar padding}/3} auto 0; text-align:{vb:stylevar center} center; width: auto; } |
#7
|
||||
|
||||
On version 4.0.2 you have find;
PHP Code:
PHP Code:
|
#8
|
||||
|
||||
i coudn't find it can u plz explain more?
|
#9
|
||||
|
||||
i mean this:
Admincp template administrator template.CSS Postbit.css and find |
#10
|
||||
|
||||
I don't understand your question. Do a Search in Templates for ".postbitlegacy .userinfo .postuseravatar" and you should find the CSS they are talking about.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|