This is a template modification for those that like having the tabulated categories. It's pretty simple.
Go to Admin Home > Themes > Layout Templates > Home and find this code from line 2-10
{foreach $[category]}
$[category.anchor]
<div class="container boards">
<div class="title-bar"><h2>$[category.name]</h2></div>
<div class="content cap-bottom">
$[category.board_list]
</div>
</div>
{/foreach}
Replace that with the code below.
<table width="100%" class="tabbedcategories">
<tr>
{foreach $[category]}
<td class="tabbedtd" id="tab$[category.id]">
<a style="text-decoration: none;">
<div width="100%" height="100%">
<h2>
<font size="3">
$[category.name]
</font>
</h2>
</div>
</a>
</td>
{/foreach}
</tr>
</table>
<script>
$(document).ready(function() {
$('td.tabbedtd').click(function() {
$('td.tabbedtdactive').removeClass('tabbedtdactive').addClass('tabbedtd');
$(this).removeClass('tabbedtd').addClass('tabbedtdactive');
var catid = $(this).attr('id').split('tab')[1];
$('div.container.boards.tabbedcatsdiv').hide();
$('div.container.boards.'+catid+'.tabbedcatsdiv').show();
localStorage.setItem('tabcats',catid);
});
if(localStorage.getItem('tabcats') != undefined) {
var catId = localStorage.getItem('tabcats');
$('div.container.boards.tabbedcatsdiv').hide();
$('div.container.boards.'+catId+'.tabbedcatsdiv').show();
$('td.tabbedtd#tab'+catId).removeClass('tabbedtd').addClass('tabbedtdactive');
}
else if(localStorage.getItem('tabcats') == undefined || localStorage.getItem('tabcats') == null) {
$('div.container.boards.tabbedcatsdiv').hide();
$('div.container.boards.2.tabbedcatsdiv').show();
$('td.tabbedtd#tab2').removeClass('tabbedtd').addClass('tabbedtdactive');
}
});
</script>
{foreach $[category]}
$[category.anchor]
<div class="container boards $[category.id] tabbedcatsdiv">
<div class="content cap-bottom">
$[category.board_list]
</div>
</div>
{/foreach}
Change the two red number to the id of the category you want as the default tab if they don't have a preference set. And then go to the CSS Style Sheet(Admin Panel > Themes > Advanced Styles & CSS > Style Sheet tab) and add this at the very bottom. The CSS will match the the color of the title bar's color, and the hover is from the hover of the board list.
/*Begin Tabbed Categories CSS */
.tabbedtd {
background-color: #1f1f1f;
text-align: center;
border: @content_area_border;
padding: 2px;
margin: 2px;
}
.tabbedtd:hover {
background-color: @container_highlight_color;
}
.tabbedtdactive {
background-color: @container_highlight_color;
text-align: center;
border: @content_area_border;
padding: 2px;
margin: 2px;
}
/*End Tabbed Categories CSS*/
Then edit whatever you want in that CSS. Hope this helps!