The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
wrapping divs around the home page tables
I want to put rounded corner boxes around the main forum tables (the header with the breadcrumbs and navigation, the main forum body, and the "whos online" box).
I was hoping someone here could point me in the right direction for where I can input those divs. I'm used to working some with CSS but I'm still more than a little confused in working with vbulletin. Any help would be greatly appreciated! |
#2
|
||||
|
||||
This isn't the right forum to be asking support questions. Moving to vB3.5 questions.
|
#3
|
|||
|
|||
I had something like this on vb templates. I put the top part of the table in my header and the bottom of my table in the footer just before spacer_open and Spacer_close I dont have that code anymore and vbt is gone... I hope that can help though.
|
#4
|
|||
|
|||
Thanks for the feedback.
Yes, putting my divs in the header and footer as you suggested put a rounded corner box around the whole forum page. Which is awesome. I'd also like to wrap divs around each of the table/boxes in the forum. So, I'd like a box around the: 1. Breadcrumb / nav bar area 2. The main forum body 3. The "whos online" box Could anyone tell me where to go to insert these divs? Thanks! |
#5
|
||||
|
||||
I modified spacer_open and spacer_closed, which seems to work fine. I assumed they are only used on the main pages and not anywhere else. Heres my implementation:
spacer_open: Code:
<!-- open content container --> <div id="alignment"> <div id="wrapper"> <div id="shadow_l"> <div id="shadow_r"> <div> Code:
</div> </div> </div> </div> </div> <!-- / close content container --> Code:
<!-- logo --> <a name="top"></a> $spacer_open Code:
<script type="text/javascript"> <!-- // Main vBulletin Javascript Initialization vBulletin_init(); //--> </script> <div id="padbottom"></div> $spacer_close <!-- /content area table --> Cheers Bruce |
#6
|
|||
|
|||
Thank you Bruce. I too got this part working.
My question was more one of getting divs around the individual tables or pieces of the forum. There is the breadcrumb/ nav area, and the main forum body, and then the "whos online" area. I'd really like to make these all less square and put 'em in cool rounded, 3D boxes. Any ideas? |
#7
|
|||
|
|||
You know, this works on the home page, and some other pages - but when viewing a specific thread the box created by the divs is broken. It surrounds part of the navigation panel (as seen below) and then the contents overrun the div created box and spills out the bottom....
Any thoughts on how to fix this? |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|