Jump to the post that solved this thread.
Solved: 6 Years, 6 Months, 3 Weeks ago Need to adjust subforums layout
#4
Solved: 6 Years, 6 Months, 3 Weeks ago
(2014-12-27, 11:40 AM)singleboy Wrote: I want to make 2 vertical columns of subforums. Please guide me how do I show them in columns?

to make two columns, first goto

ACP >> Templates >> Your Theme's Template >> Forum Bit Templates >> forumbit_depth3 >> Replace the content with

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


Step 2: ACP >> Templates >> Your Theme's Template >> Forum Bit Templates >> forumbit_subforums >> Replace the content with

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


Step 3: Add this to global.css

.sub_forums {
list-style: none; 
margin: 0; 
padding: 0;
}

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

Save everything open your forums and do a hard refresh (Ctrl+F5) if you dont see the changes....

TIP: the "width: 50%" gives us the two column layout, changing that to 33% will give 3 columns, 100% will give single column and so on... Big Grin
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
Jump to the post that solved this thread.


Messages In This Thread
RE: Need to adjust subforums layout - by mmadhankumar - 2014-12-27, 01:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)