MyBB Tutorials

Subforums 2 or 3 columns NO PLUGIN

Submitted by Buster14, , Thread ID: 803

Thread Closed
Buster14
Lurker
Level:
0
Reputation:
0
Posts:
6
Likes:
0
Credits:
0
28-01-2015, 02:21 PM
This post was last modified: 28-01-2015, 02:21 PM by Buster14
#1
Edit Template

Then you have to change a few lines of html code in the admin panel and select Styles and Templates , then templates and packages at the end of the template, select the Description section - Templates . Delete the entire contents of the template forumbit_depth3 and paste the :

Code:
<li>{$statusicon}<a href="{$forum_url}" title="{$forum_viewers_text_plain}">{$forum['name']}</a></li>

Return to the package templates department Description - Templates, remove the entire contents of the template forumbit_subforums and paste the :

Code:
<br />{$lang->subforums}<br /><ul class="ver_sub">{$sub_forums}</ul>

Edit CSS

In the admin panel and select Styles and Templates , and later styles , choose your style and finally select the worksheet global.css . From the top of the tab, select Edit CSS: Advanced mode.

At the end of CSS code, insert the following code to subforums display them in one column:

Code:

. ver_sub {
margin : 0 ;
padding : 0 ;
list- style : none ;
}
. ver_sub li {
width : 100 %;
float : left ;
}

If you want to display them subforums in two columns insert:

Code:

. ver_sub {
margin : 0 ;
padding : 0 ;
list- style : none ;
}
. ver_sub li {
width : 50 %;
float : left ;
}

If you want to display them subforums in three columns insert:

Code:

. ver_sub {
margin : 0 ;
padding : 0 ;
list- style : none ;
}
. ver_sub li {
width : 33 %;
float : left ;
}

SORRY FOR MY BAD ENGLISH!

RE: Subforums 2 or 3 columns NO PLUGIN

Vlad
Novice
Level:
0
Reputation:
0
Posts:
22
Likes:
0
Credits:
30
21-02-2015, 08:57 AM
#2
I've been trying to figure this out for ages thank you so much!!!!

RE: Subforums 2 or 3 columns NO PLUGIN

ThatOo
Lurker
Level:
0
Reputation:
0
Posts:
3
Likes:
0
Credits:
3
30-03-2015, 09:40 PM
#3
Thank Usefull Good tutorial ! :D

RE: Subforums 2 or 3 columns NO PLUGIN

rohangz
Novice
Level:
0
Reputation:
0
Posts:
28
Likes:
0
Credits:
11
10-06-2015, 04:22 AM
#4
this tut is for 1.8 or 1.6?

Users browsing this thread: 1 Guest(s)