MyBB Tutorials

Subforums 2 or 3 columns NO PLUGIN

Submitted by Buster14, , Thread ID: 803

Thread Closed
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

#2
I've been trying to figure this out for ages thank you so much!!!!

RE: Subforums 2 or 3 columns NO PLUGIN

#3
Thank Usefull Good tutorial ! :D

RE: Subforums 2 or 3 columns NO PLUGIN

#4
this tut is for 1.8 or 1.6?

Users browsing this thread: