Welcome to Admin Junkies, Guest — join our community!

Register or log in to explore all our content and services for free on Admin Junkies.

Subforums In Column

mastersly

Addicted member
Joined
Apr 29, 2020
Messages
988
Credits
0
[hide]
Go to: ACP > Templates > Select Your Theme's Template Set > Forum Bit Templates > forumbit_depth3 > Edit > Replace all with the following code:
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:
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.

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

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

[/hide]
 
Advertisement Placeholder
Thank you for sharing this code with us here, if you have a sub forum then it seems that this code will make it easier in order to navigate the forum as well.
 
[hide]
Go to: ACP > Templates > Select Your Theme's Template Set > Forum Bit Templates > forumbit_depth3 > Edit > Replace all with the following code:
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:
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.

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

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

[/hide]
This is an easier and decent way of doing it, i was using the long method because i feared codes. But you have made it look simple. I will try it hope it can be restored easily incase i mess it up :)
 
Is this what you have to do for XenForo forums to make them work? Or is this random code?
 
Is this what you have to do for XenForo forums to make them work? Or is this random code?
to be honest i think that codes like this should haave a screenshot that is attached to it as well to make it easier to understand so we know where it is applicable as well.
 

Log in or register to unlock full forum benefits!

Log in or register to unlock full forum benefits!

Register

Register on Admin Junkies completely free.

Register now
Log in

If you have an account, please log in

Log in
Who read this thread (Total readers: 0)
No registered users viewing this thread.

Would You Rather #9

  • Start a forum in a popular but highly competitive niche

    Votes: 9 27.3%
  • Initiate a forum within a limited-known niche with zero competition

    Votes: 24 72.7%
Win this space by entering the Website of The Month Contest

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds