View Full Version : How to get those "boxes" around the user information
I don't know if I was descriptive enough in the thread title but I have seen a lot of forums using the vb2 post bit and having "boxes" around the user information. An example of the "boxes" is here. (http://www.extremepixels.com/forum/showthread.php?t=1189) I have seen it at many forums so I know it's not just an extreme pixels exclusive. This has probably been posted a million times before but I've been searching all day and cant find it. Can anyone point me towards how to do that?
this can be done using the css and div classes cant it??.... i think so.... ill give it a go
It probably can, but I don't know either div classes or CSS.
in 'All Style Options' part of the 'Style Manager', find near the bottom of the page 'Additional CSS Definitions' and add the following in the second box
.postbitinfo {
background-color: #E6ECF4;
border-top: 1px solid #4775A7;
border-right: 2px solid #4775A7;
border-left: 1px solid #4775A7;
border-bottom: 2px solid #4775A7;
padding-top: 3px;
padding-right: 0px;
padding-left: 3px;
padding-bottom: 3px;
margin-bottom: 3px;
}
change #E6ECF4 to the background colour you would like and change all 4 instances of #4775A7 to the border color you would like... the colors there are the same (or as close as i could get) to the example you posted
scroll right to the bottom and hit save
then in your 'postbit_legacy' template
find
<div>$vbphrase[join_date]: $post[joindate]</div></if>
change to
<div class="postbitinfo">$vbphrase[join_date]: $post[joindate]</div></if>
also below this code you will see simelar code for the location, age, posts and reputation.... where the div tag starts <div> replace these with <div class="postbitinfo">
Quillz
09-24-2005, 02:01 AM
Will this work with the vB3 postbit, if I was to edit the postbit template, as opposed to postbit_legacy?
i havent tryed it as i dont like the horizontal postbit...
bhxtyrant
09-24-2005, 04:49 AM
I'm also interested to know if this will work with version 3.0.I like this type of look as it looks more "clean" to me then just text with no boards.Thansk to anyone who can answer this.
it will work with 3.x.x and allso does work with the 'new' horizontal postbit
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.