I want to center the postbit legacy Username, user title, rank badge and avatar ... How to do this?
How to center the postbit info - 4.2
Collapse
X
-
Building my Automotive Forum Network...
Lincoln vs Cadillac - Mopar Forum - E Body Mopar Forum - B Body Mopar Forum - Pick Up Truck Forum - C Body Mopar Forum - FMJ Body Mopar ForumTags: None -
Try this, I am sure there's a better way
in postbit_legacy fine
PHP Code:</div>
<div class="postdetails">
PHP Code:</div>
<center><div class="postdetails">
Then in same template, find
PHP Code:<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if>
PHP Code:<dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
</vb:if>
</vb:if>
</dl>
</vb:if></center>
To be or not to be... Where the hell is the question????My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too
Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16
-
Thanks - ill try
- - - Updated - - -
Got most of it but not the avatarBuilding my Automotive Forum Network...
Lincoln vs Cadillac - Mopar Forum - E Body Mopar Forum - B Body Mopar Forum - Pick Up Truck Forum - C Body Mopar Forum - FMJ Body Mopar ForumComment
-
Do this for the avatar:
Code:[COLOR=#000000][FONT=Monaco].postbitlegacy .userinfo .postuseravatar, [/FONT][/COLOR][COLOR=#000000][FONT=Monaco] [COLOR=#006400]float[/COLOR]:[COLOR=#00008B]none[/COLOR]; [COLOR=#006400]text-align[/COLOR]:[COLOR=#00008B]center[/COLOR]; [/FONT][/COLOR] [COLOR=#000000][FONT=Monaco]}[/FONT][/COLOR]
Please don't PM or VM me for support - I only help out in the threads.
vBulletin Manual & vBulletin 4.0 Code Documentation (API)
Want help modifying your vbulletin forum? Head on over to vbulletin.org
If I post CSS and you don't know where it goes, throw it into the additional.css template.
W3Schools <- awesome site for html/css helpComment
-
where ? additional css?Building my Automotive Forum Network...
Lincoln vs Cadillac - Mopar Forum - E Body Mopar Forum - B Body Mopar Forum - Pick Up Truck Forum - C Body Mopar Forum - FMJ Body Mopar ForumComment
-
There are few places in postbit.css you can play with and see...
- - - Updated - - -
I cheatedI found this posted by Lynne a while back.
Try adding this to additional.css (may have to modify for 4.0.1):
Code:/* center avatar, username, title, rank in postbit legacy 4.0.2 */ .postbitlegacy .userinfo .username_container, .postbitlegacy .userinfo .rank, .postbitlegacy .userinfo .usertitle {text-align:center;} .postbitlegacy .userinfo .postuseravatar, .postbitlegacy .userinfo .postuseravatar img {float:none; text-align:center;}
To be or not to be... Where the hell is the question????My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too
Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16
Comment
-
Comment
-
Try this (in additional.css), I can't say for certain this works as I only tested it here with Firebug and without the rest of the info being centered it looks a bit odd
Code:.postbit .userinfo .contact, .userinfo .userinfo_extra, .postbit .userinfo_noavatar .contact { display: inline-block; height: auto !important; text-align: center !important; }
BrainTalk is a support group for friends, family, caregivers, and patients with neurological disorders and other health related diagnosis.
BrainTalk Communities Inc
sigpic
Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment