The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
How do i put these boxes around the users info when they post:
![]() Can someone plz help, thanks. |
|
#2
|
||||
|
||||
|
In your styles Main CSS, add this
Code:
/* ***** define box around postbit information ***** */
.info {
padding-left: 3px;
padding-right: 0px;
padding-top: 3px;
padding-bottom: 3px;
background-color: #D1D4E0;
border-top: 1px solid #091524;
border-right: 1px solid #091524;
border-left: 1px solid #091524;
border-bottom: 1px solid #091524;
margin-bottom: 2px;
}
Code:
<div class="info">code goes here</div> |
|
#3
|
|||
|
|||
|
Quote:
but were do i find the code at? |
|
#4
|
||||
|
||||
|
styles & templates > style manager > "Style you want to edit" > postbit or postbit_legacy template, depending on which one you use.... most likely postbit legacy since your asking for this.
for instance you would find: Code:
<if condition="$post['age']">$vbphrase[age]: $post[age]</if> Code:
<if condition="$post['age']"><div class="info">$vbphrase[age]: $post[age]</div></if> |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|