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)
-   -   forum sub category shows horizontally, please help! (https://vborg.vbsupport.ru/showthread.php?t=266093)

hoodoola 07-01-2011 04:08 AM

forum sub category shows horizontally, please help!
 
Hello all

i just bought the cms suite package. still learning it.

right now the forum shows

main category
sub category 1
sub category 2
sub category 3
...
i want it to show like this way

main category
sub category 1 sub category 2 sub category 3 ...

Is there anybody could tell me how to edit the style ?

i couldn't find where it is, so save sometime.

thank you very much

setishock 07-01-2011 04:33 AM

1 Attachment(s)
You mean like this? See attachment.

hoodoola 07-01-2011 04:47 AM

Quote:

Originally Posted by setishock (Post 2215311)
You mean like this? See attachment.

Yes, how to do that?

please help
thank you very much!!

setishock 07-01-2011 04:55 AM

Put this entire block of code in the additional.css template. Make sure you click save and reload.
Code:

.forumlastpost { display: none !important; }

.forumhead + .childforum .L2:first-child .forumrow, .forumhead + .L2 .forumrow {
  border-top: 0;
}
.forumrow .table {
  height: 100px;
}
ol.childforum {
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
}
.childforum li.forumbit_post {
  float: left;
  width: 50%;
  margin: 0;
  padding: 0;
  clear:none;
}
#forums .L1 .L2 {
  clear:none;
}
.forumbit_post .forumrow .forumlastpost {
  clear:both;
  width:95%;
}
.forumbit_post .forumlastpost .lastpostby {
  display: block;
  float: left;
}
.forumbit_post .forumlastpost .lastpostdate {
  display: block;
  float: right;
}
.forumbit_post .forumlastpost .lastposttitle {
  display: block;
  float: left;
}
.forumbit_post .foruminfo {
  clear:right;
  float:left;
  min-width:50%;
  width:70%;
}
.forumbit_post .forumstats, .forumbit_post .forumstats_2 {
  width:20%;
}

I found that online and have been using it for a week or so. I have not found any problems or issues coming from it.

--------------- Added [DATE]1309502101[/DATE] at [TIME]1309502101[/TIME] ---------------

If your category bars don't quite line up right pop this in at the top of that code block and adjust the numbers to get them to line up. I had to make mine a little smaller to line up right with the border around the catory bars.
Code:

.forumhead: { width: 99.5%; }

hoodoola 07-01-2011 05:35 AM

Quote:

Originally Posted by setishock (Post 2215319)
Put this entire block of code in the additional.css template. Make sure you click save and reload.

I found that online and have been using it for a week or so. I have not found any problems or issues coming from it.

There is a problem that i some category that i just want keep it, some others i want it to show like that.

thank you very much

does anybody know some other better way to do this?

--------------- Added [DATE]1309502383[/DATE] at [TIME]1309502383[/TIME] ---------------

hey, i found it, there are several mods that help to edit it.
Forums arranged in columns on forumhome


All times are GMT. The time now is 09:25 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.01414 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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