vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   [HOW TO - vB4] Two column forum/sub-forum setup via CSS only (https://vborg.vbsupport.ru/showthread.php?t=228484)

Lynne 12-05-2011 05:37 PM

If you look at the page source, you'll see this at the start of categories:
<li id="cat48" class="forumbit_nopost old L1">

So you could add #cat48 in front of the class. Example, instead of:
.subforums ol.subforumlist
You could put:
#cat48 .subforums ol.subforumlist

LuDawgs 12-19-2011 05:28 PM

Really good stuff, as usual. Is there a way to increase the width between subforums? So that they aren't so stacked/crammed on top of one another?

http://awesomescreenshot.com/0a0qfy939

Lynne 12-19-2011 07:02 PM

Quote:

Originally Posted by LuDawgs (Post 2279151)
Really good stuff, as usual. Is there a way to increase the width between subforums? So that they aren't so stacked/crammed on top of one another?

http://awesomescreenshot.com/0a0qfy939

Just add some top-padding:

.subforumlist li.subforum {
padding-top: 5px;
}

my123world 12-23-2011 08:14 AM

Ok So, I Have set my ".childforum li.forumbit_post {" to 50%.... My 3rd category always looks ugly. Please See This -

https://vborg.vbsupport.ru/external/2012/01/32.png

How do i Center it?

Lynne 12-23-2011 04:52 PM

I don't think you can center that without writing some code to do it (a plugin).

GhostHunter2010 01-18-2012 02:56 PM

i like this but it confuses me lol

davio33 01-21-2012 10:49 PM

Is there a way to make this three columns?

Reece^B 01-22-2012 07:20 AM

Quote:

Originally Posted by my123world (Post 2280358)
Ok So, I Have set my ".childforum li.forumbit_post {" to 50%.... My 3rd category always looks ugly. Please See This -

https://vborg.vbsupport.ru/external/2012/01/32.png

How do i Center it?

Can you hep us out by posting where your code is and what you've used?

tommythejoat 04-29-2012 02:45 AM

I just installed 4.1.12pl1 and this stopped working. I still get two columns, but the spacing differs from forum to forum with 3 different spacings. It is behaving like a tab stop overflow instead of just dividing the area into two pieces as it was last week with 4.1.10.

Did 4.1.12pl1 change the name of the class for subforum?

Here is what I have in additional css.
HTML Code:

.subforums ol.subforumlist  {
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
}
.subforumlist li.subforum {
  float: left;
  width: 50%;
  margin: 0;
  padding: 0;
  clear:none;
}


Lynne 04-29-2012 03:03 AM

I'm not sure what you mean. I just tested that on my default 4.1.12 site and it looks the same on the forum.php page as on the forumdisplay.php page.


All times are GMT. The time now is 05:38 AM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01459 seconds
  • Memory Usage 1,734KB
  • 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_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete