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)

setishock 08-07-2011 03:56 PM

Darlin' you rock! I found that code on another forum of dubious content. Now I know where they got it.
Is it possible to make the thread list in to 2 columns?

Lynne 08-07-2011 04:33 PM

Quote:

Originally Posted by setishock (Post 2230518)
Darlin' you rock! I found that code on another forum of dubious content. Now I know where they got it.
Is it possible to make the thread list in to 2 columns?

Sure, you could apply the same technique to the thread list on the forumdisplay pages.

jmp51483 08-30-2011 04:11 PM

Is this known to be working still in 4.1.5? I applied the sub forum listing to the default template and saw no change. I added this to the additional.css file and the forumbits.css file...

Thanks!

Lynne 08-30-2011 04:46 PM

Quote:

Originally Posted by jmp51483 (Post 2240010)
Is this known to be working still in 4.1.5? I applied the sub forum listing to the default template and saw no change. I added this to the additional.css file and the forumbits.css file...

Thanks!

I just added the subforum css to the additional.css template in one of my 4.1.5 default styles and it worked just fine.

techdeals07 09-10-2011 11:21 PM

Quote:

Originally Posted by jmp51483 (Post 2240010)
Is this known to be working still in 4.1.5? I applied the sub forum listing to the default template and saw no change. I added this to the additional.css file and the forumbits.css file...

Thanks!

Doesn't seem to work for me either on my 4.1.5 test site....

techdeals07 09-12-2011 06:22 PM

Quote:

Originally Posted by techdeals07 (Post 2244431)
Doesn't seem to work for me either on my 4.1.5 test site....

Edit: Still works as intended on 4.1.5, I just didn't with the way my forums and sections were configured.

Reece^B 09-13-2011 06:57 PM

1 Attachment(s)
Using this CSS, can I replicate my existing look?

Lynne 09-14-2011 01:55 AM

Quote:

Originally Posted by Reece^B (Post 2245501)
Using this CSS, can I replicate my existing look?

Using just CSS? No. You will need to do template edits also.

Initial Z32 09-14-2011 08:55 PM

Hello Lynne, I'm still new to CSS and have read through this entire thread and tried messing with the codes but cannot achieve the end result I am looking for.

This is how my forum looks now (default 4.1.5 and there are child forums within here):

http://i24.photobucket.com/albums/c3...32/current.png

This is how I want it to look (your second image in original post):

http://i24.photobucket.com/albums/c3...alZ32/goal.png

And this is what I get when I post the code in my additional css. window:

http://i24.photobucket.com/albums/c3...dewithout1.png

Could you please help me identify what I am doing wrong??

Thanks in advance, I really appreciate your time and help




ok so I read the original thread that this one derives from and got this code from Charlie's post:

.subforums ol.subforumlist {
float: left;
width: 100%;
margin: 0;
padding: 0;
}
.subforumlist li.subforum {
float: left;
width: 50%;
margin: 0;
padding: 0;
clear:none;
}
/* to remove the commas */
.commalist li.subforum:after {
content:"";
}"

I punched it into my forumbit.css and got a result similar to what I want:


http://i24.photobucket.com/albums/c3...nglecolumn.png

But I would very much rather have two columns instead of one, hopefully this is an easier question to answer??


Side note, I have the Forum Listing Display Options > Depth of Sub-Forums set to "1" so that they will appear, it defaults to 0 so nothing will show unless I change it to 1...

Lynne 09-14-2011 11:03 PM

You would need to post a link to your forum/style so we can see what is going on.


All times are GMT. The time now is 11:40 AM.

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.01366 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)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