Hi all,
i searched the forums but didn't find a clear way to accomplish this.
I would like to display the subforums in vertical formats
How can i do ?
Thank you and keep the good work!
<style type='text/css'>
.groupsub
{
margin: 0;
padding: 0;
font-size: 11.5px;
}
.groupsub li
{
width: 40%;
float: left;
}
</style>
<br /><ul class="groupsub">{$sub_forums}</ul>
It is more useful than the plugin that it does. It doesnt run any MySQL quieries...
Please follow the steps which are below:
Admin CP=> Templates=> Edit/Delete=>The Theme that you use => Forumbit Templates => forumbit_depth3 Open:
Replace with:
<li>{$statusicon}<a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></li>
Admin CP=> Templates=> Edit/Delete=>The Theme that you use=>Forumbit Templates=> forumbit_subforums Open:
Replace with:
<br />{$lang->subforums}<br /><ul class="alt_forumlar">{$sub_forums}</ul>
Now, css codes are being added:
Admin CP=> Themes=> Edit/Delete=> Theme that you use => Additional CSS
.alt_forumlar {list-style: none; margin: 0; padding: 0;}
.alt_forumlar li {width: 50%; float: left;}
That's all.
Original Post:
http://community.mybb.com/thread-32008.html