MyBB Community Forums

Full Version: Subforums showing like in paragraph
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My subforums name are currently in a column. I want them in a line(might be more) like a paragraph.
(2014-09-27, 09:01 PM)MalikDz Wrote: [ -> ]My subforums name are currently in a column. I want them in a line(might be more) like a paragraph.

I have a code but your going to have to play around with it to get it the way you like ,

Go to Template & Style > Templates > Default Templates > Forum Bit Templates   and open
forumbit_depth3

**I suggest you open notepad and save the code that is there ,**

now delete everything that is there and add this:

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

Save

Now Open Templates > Default Templates > Forum Bit Templates   and open  forumbit_subforums


**I suggest you open notepad and save the code that is there as well ,**

now delete everythiing there and put

<br />{$lang->subforums}<br /><ul class="alt_forumlar">{$sub_forums}</ul>

save

now go to Themes » Your theme » Editing css3.css  and choose
Edit Stylesheet: Advanced Mode

now all the way at the bottom add this :

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

save , now view your forum


play around with it just mess with the code


in the  Default Templates » Edit Template: forumbit_subforums

that code you enter there your sub forums will look like this :


[attachment=33474]


now if you mess around with the


Themes » Your theme » Editing css3.css  and choose  

and change the width: 50% to 20%  it will look like this :

[attachment=33475]


hope i explained this good enough for you too understand