customer/main/subcategories.tpl would need to be changed.
The code is:
Code:
{section name=cat_num loop=$subcategories}
{assign var="tmp" value="1"}
{ if %cat_num.first% }
<table border="0" cellspacing="0" cellpadding="5" width="100%">
{/if}
{ if %cat_num.index% is div by 3}
<tr>
{/if}
<td>
<a href="home.php?cat={ $subcategories[cat_num].categoryid }">
[img]../icon.php?categoryid={$subcategories[cat_num].categoryid}[/img]
{ $subcategories[cat_num].category|escape }</a>
</td>
{ if %cat_num.last% }
</tr>
</table>
{/if}
{/section}
This is adapted from my own site, so feel free to jazz it up to what you need