PDA

View Full Version : Forum Home Enhancements - vb5 forum category spacing - SUPER SIMPLIFIED 1 STEP - No Error


napy8gen
22 Mar 2014, 10:20
Hello Guys,
It's me Hanafi from sultantheme.com (http://www.sultantheme.com/)

No script very small changes. Added 1 row to add space.
Tested with vb5.3.2

1. Style manager> style name> edit templates>Display Templates> display_Forums_list

on line 7 : <!-- Categories -->
paste below the line:
<!--added row -->
<tr><td style="height:10px"colspan="4">&nbsp;</td></tr>


have fun.

napy8gen
22 Mar 2014, 10:23
deleted content.. no more sub pages problem

WanaGo
13 Apr 2014, 22:40
Thank you

newuser886
14 Oct 2014, 06:14
Thank you!

matheus21
25 Nov 2014, 02:55
vb5 forum category spacing erro !!

https://tmpdmp.com/i/848735a2f37b6f03/19318c347d551cf1

Style manager> style name> edit templates> css templates> css_additional.css
https://www.vbulletin.org/forum/external/2014/11/7.png

/*-- fix the first unwanted 2ndrow forum/topic/post/last post --*/
/*-- fix at forumhome only not in subpages --*/
#forum-tab table:first-child{display:none}

/*-- custom spacing --*/
.catspace{margin-top:20px;}

/*-- category styling --*/
.forum-list-container .category-header {
background: #033145 url("images/css/sprite_gradients_vb.png") repeat-x 0px -50px;
}
/*-- category title text --*/
.forum-list-container .category-header .category{color:#fff!important;}

/*-- category 2nd row, last post, topic post count --*/
.forum-list-container .forum-list-header{height:25px;line-height:25px;}
.forum-list-container .forum-list-header .header-forum {border-left: 0px!important;}
.forum-list-container .forum-list-header .header-lastpost{border-right: 0px!important;}


/*-- forums bordering --*/
.forum-list-container {
border: 1px solid #c4c4c4;
border-top: 0px solid #c4c4c4;
box-shadow: 1px 1px 1px #ddd;
}

shimei
03 Apr 2015, 18:40
Is there a way to also add this to modules?

player2014
04 May 2015, 15:36
No Fix For the Unwanted Spacing :(

justasiam
13 May 2015, 20:59
This is pretty cool. TY.

beastmode1
05 Jul 2015, 00:55
How can i add round upper corners to the top bar?

napy8gen
08 Aug 2015, 00:14
How can i add round upper corners to the top bar?

This modification to add border radius will make original bordering in this mod, looks ugly and we'll need a new bordering model.

Put this code into your css_additional.css
style manager> style name> edit templates> CSS templates> css_additional.css

.forum-list-container .category-header td{
-webkit-border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topleft: 10px;
-moz-border-radius-topright: 10px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
.forum-list-container .forum-item td {
border-top: 1px solid #ddd;
}
.forum-list-container .forum-item .lastpost{
border-right: 1px solid #ddd;
}
.forum-list-container .forum-item .cell-forum{
border-left: 1px solid #ddd;
}
.list-footer,.forum-list-container .subforum-list > td{
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
}
.forum-list-container .forum-item:last-child td{
border-bottom: 1px solid #c4c4c4!important;
}
/*-- forums bordering overwrites existing css --*/
.forum-list-container {
border: 0px solid #c4c4c4!important;
border-top: 0px solid #c4c4c4!important;
box-shadow: 0px 0px 0px transparent!important;
}

matheus21
23 Sep 2015, 23:01
does not work in version 5.1.9?
here to me did not work

rohit_123
22 Jan 2016, 14:08
Works fine on 5.1.10. If anybody wants to have a look then check this url http://forum.miui.co.in

josueinaki
27 Jan 2016, 02:36
the spacing in the main forum is ok but i get this problem in subforums

EDIT------------

i remove this part of code

<!--added 2nd row -->
<tr class="forum-list-header">
<th class="header-forum"><span>Forums</span></th>
<th class="header-topics"><span>{vb:rawphrase topics}</span></th>
<th class="header-posts"><span>{vb:rawphrase posts}</span></th>
<th class="header-lastpost"><span>{vb:rawphrase last_post}</span></th>
</tr>

its ok now

elroy15
06 Jun 2016, 21:12
its doesnt work
vb 5.2.2
someone can help me ?

alsuheimat
29 Sep 2016, 03:28
update plesea vb 5.2.4

منتديات ابناء الكرك (http://alkarak.biz/)

ppurchalak
18 Dec 2016, 16:50
Hi.
I think that there must be close tag for <table>, where to add it?

watershed
22 Nov 2018, 14:49
If anybody is interested in a version of this which works with the latest version (5.4.5), Glenn from vBMods.rocks made a nice one: https://vbmods.rocks/forum/vbulletin-5-modifications/vbulletin-5-template-only-modifications/2194-forum-category-spacing-on-homepage-no-template-editing-required-and-vbcloud-compatible