Log in

View Full Version : Border surrounding forumbits


Adam H
02-07-2012, 07:53 PM
Hi guys, Not very often that i ask for help but on this occasion my coders are out of town until tomorrow night and i need to figure something out on my own haha.

Has anyone managed to throw a border around forumbits, I.e a border around the forumhead and categories on the forumhome.

The easy way would be to just put a div around the :

<ol id="forums" class="floatcontainer">

{vb:raw forumbits}
</ol>

In the forumhome template, however that would wrap ALL of the forumbits at once, im trying to wrap each block.

Wrapping the forumhome_forumbit_level1_nopost template doesnt work either.

Lynne
02-07-2012, 11:39 PM
Probably could do it just with CSS. Why not post a link to your site and an image showing what you want and we may be able to write the CSS for you.

Adam H
02-07-2012, 11:43 PM
Probably could do it just with CSS. Why not post a link to your site and an image showing what you want and we may be able to write the CSS for you.

Its on a test bed at the moment , Ive tried a number of things with CSS, none of which work.

basically the border needs to surround the each of the <li> in this code in the forumhome :

<ol id="forums" class="floatcontainer">
<li id="cat4" class="forumbit_nopost new L1">
<li id="cat11" class="forumbit_nopost new L1">
<li id="cat32" class="forumbit_nopost new L1">
<li id="cat15" class="forumbit_nopost new L1">
</ol>

If you add a border to the following css :

.forumbit_nopost {
border: 1px solid #ccc;
clear: left;
}

Then it doesnt actually surround the forum block , it sits above it.