The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
borders around userstats in postbit
I saw this layout on another site, but can't figure out how to do it. Basically, they have borders around each user stat in the postbit template. See attachment.
|
#2
|
||||
|
||||
That can be done with CSS. If no one has shown you how by the time I get home (after the holiday) I'll do it for you
Or you could point me to the site and I could show you the code that is used for it |
#3
|
|||
|
|||
I would immensley appreciate that.
Thanx |
#4
|
|||
|
|||
Anybody?
|
#5
|
|||
|
|||
I have it on my site, but I forgot how I did that
|
#6
|
||||
|
||||
Im doing it now
|
#7
|
||||
|
||||
ok, sorry, I forgot I said I would do it. Anyway, here goes:
If you have different styles, you'll have to change the colors. I went ahead and made it the same colors as the image you posted. Log into your admincp and go to: Styles & Templates > Style Manager > Your Style > Main CSS At the bottom of that page you'll see a box that says 'Additional CSS Definitions'. In that box add this: Code:
.infobox { border-top-width: 1px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 1px; border-style: solid; border-color: #000; background-color: #eee; padding: 3px; margin-top: 3px; margin-bottom: 3px; font-size: 10px; width: 95%; } No go to Styles & Templates > Style Manager > Your Style > Edit Templates > Postbit Templates > postbit (or postbit_legacy if you are using the one with the post info on the left) Now find the info you want to be boxed in and add in front of it Code:
<div class="infobox"> Code:
</div> Code:
<div class="infobox">$vbphrase[posts]: $post[posts]</div> |
#8
|
|||
|
|||
Your is a bit different from mine, but I'll post mine, too:
PHP Code:
PHP Code:
|
#9
|
||||
|
||||
Looks like either will work perfectly
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|