The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Postbit User Info. and Profile Centering
Is it possible to center these?
|
#2
|
||||
|
||||
Try this, edit your template postbit_legacy
Change HTML Code:
<div class="username_container">
HTML Code:
<div class="username_container" style="text-align: center">
|
#3
|
|||
|
|||
Quote:
Also, how about on profiles? |
#4
|
|||
|
|||
To center the Username, title and rank, add this css to this h1 element:
HTML Code:
<h1 style="text-align:center;" class="blocksubhead prof_blocksubhead">
To center the profile pic. You'll need to add a new div around {vb:raw blocks.profile_picture} and center it like so: HTML Code:
<div text-align:center;">{vb:raw blocks.profile_picture}</div> |
#5
|
|||
|
|||
Quote:
|
#6
|
|||
|
|||
Try searching prof_blocksubhead
|
#7
|
|||
|
|||
It's still not finding it.
postbit_legacy template, right? |
#8
|
|||
|
|||
For profile page? It's in MEMBERINFO template.
|
#9
|
|||
|
|||
I thought you were helping me with the postbit part where I also want it centered.
Also, I got it, but they seem to be off. The rank isn't centered under the username. |
#10
|
|||
|
|||
It will be centered for normal users. The reason why it looks not centered is because of the edit pencil next to the username for mods and admins. You can move that somewhere else on the template if you wish.
For postbit_legacy find HTML Code:
<div class="username_container"> <vb:if condition="$post['userid']"> {vb:raw memberaction_dropdown} {vb:raw post.onlinestatus} <vb:else /> <span class="username guest">{vb:raw post.musername}</span> </vb:if> </div> <span class="usertitle"> {vb:raw post.usertitle} </span> <vb:if condition="$post['rank']"> <span class="rank">{vb:raw post.rank}</span> </vb:if> {vb:raw template_hook.postbit_userinfo_left} <vb:if condition="$show['reputation']"> <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}" title="{vb:raw post.username} {vb:raw post.level}"> <vb:each from="reputationdisplay" value="row"> <img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend} </vb:each> </span> </vb:if> Find HTML Code:
<a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|