vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Border surrounding forumbits (https://vborg.vbsupport.ru/showthread.php?t=278214)

Adam H 02-07-2012 08:53 PM

Border surrounding forumbits
 
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 :

Code:

<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-08-2012 12:39 AM

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-08-2012 12:43 AM

Quote:

Originally Posted by Lynne (Post 2297366)
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.


All times are GMT. The time now is 07:35 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00974 seconds
  • Memory Usage 1,714KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete