MyBB Community Forums

Full Version: [Ask] How to make category in two column
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to know how to make the category in two column like this
[Image: ?di=16130235418516]

Thanks all Big Grin
Go to: ACP > Templates > Select Your Theme's Template Set > Forum Bit Templates > forumbit_depth3 > Edit > Replace all with the following code:
<li>{$statusicon}<a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></li>

Go to: ACP > Templates > Select Your Theme's Template Set > Forum Bit Templates > forumbit_subforums > Edit > Replace all with the following code:
<br />{$lang->subforums}<br /><ul class="columns">{$sub_forums}</ul>

Go to: ACP > Themes > Select Your Theme > global.css > Edit Stylesheet in Advanced Mode > Add the following at the end of Stylesheet.
.columns 
{
list-style: none; 
margin: 0; 
padding: 0;
}

.columns li 
{
width: 50%; 
float: left;
}

--- DONE! Smile
I tried your above code, Yaldaram, and it didn't seem to work.
I'm using the same procedure on my community. It is working there.
It is not MyBB template,
You can do it manually and easily, if you know basic html Wink
Grab all your categories, and give it short name and build it with table.

<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}

<table><tr>
<td>Left Category (Kategori Kiri)</td>
<td>Right Category (Kategori kanan)</td>
</tr></table>

{$footer}
</body>
</html>
(2011-04-09, 05:22 PM)Yaldaram Wrote: [ -> ]I'm using the same procedure on my community. It is working there.

Could you give me a screenshot of what it should look like if it works properly?
It seems 1 category 2 forum (no subforum)