The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Postbit questions (vb 4.2.1)
Right now my rep bars are located above my avatar and centered. I would like them to be right below my avatar and to the left. Where would i go to find this code and any info on what and where to add would be great
|
#2
|
||||
|
||||
That would be in your postbit_legacy template. Look for this block of code (NOTE: Might look a little different, since my vB4 is slightly older.)
Code:
<vb:if condition="$show['reputation']"> <span class="postbit_reputation" id="repdisplay_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reputationdisplay}</span> </vb:if> <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> As far as aligning left goes, that should be it's alignment by default. But you might be using a skin that has different CSS. See if the original designer can clue you in to where he/she coded it to center. |
#3
|
|||
|
|||
Ok i got it on the bottom but now it is touching the avatar
|
#4
|
|||
|
|||
anymore advise?
|
#5
|
||||
|
||||
You can alter the spacing with CSS, but you might want to check with your skin designer to see how his or her code is affecting that area. For instance, you could add padding to that area using CSS code in the template, but the designer could have his own CSS that would override that. And CSS can be named anything, so you'd want to check with him to find out what the correct class names are and where they are affecting things.
|
#6
|
|||
|
|||
Quote:
|
#7
|
||||
|
||||
Are you sure? It doesn't look anything like the default vB 4 skin. Certainly text is not centered by default in that area. you can add style="width:100%; text-align:left !important" to <span> tag. But I can't guarantee that will work without actually looking at the style on the backend.
|
#8
|
||||
|
||||
No DJ, PurevB is a company that sells styles.
|
#9
|
||||
|
||||
If I said "I knew that. I was just testing you". Would you believe me? :erm:
|
#10
|
||||
|
||||
Of course I would.
|
Благодарность от: | ||
Digital Jedi |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|