Catagories pushing table out of line help

Discussion in 'Technical Support' started by Bengalkittensuk, Aug 5, 2011.

  1. Bengalkittensuk Customer

    Hi I hope someone can help I need an idiots guide to solve my problem

    on the home page in the browse categories table, under each title there are more titles ie

    For You (1)
    Bodyprotectors, Boots, Gloves, Hat, Johdpurs, Other, Show Jacket, Wanted

    these are pushing the table out of line
    so it's huge on left side and really small on the right side
    any one know how to fix that?

    feed back on my site would be useful too as 1 customer said it was hard to navigate?

    any help greatly appreciated but need very simple directions to follow.
  2. seymourjames All Hands On Deck

    Try replacing the   with <br /> in this line on your home page (home.tpl file). The subcats I think will then list vertically.

    {$entry.link}{if $smarty.foreach.cats.last} {else}, {/if}
  3. Mike-N-Tosh Developer & Moderator

    As you have your admin settings to show the categories to 2 columns, just simply add a width of 50% to your table data tag in your home.tpl file

    Code:
    <table width="100%">
    {section name=tr loop=$data step=$cols}
    	<tr>
    		{section name=td start=$smarty.section.tr.index loop=$smarty.section.tr.index+$cols}
    			<td valign="top" width="50%">
    
  4. Bengalkittensuk Customer

    Thank you both for your quick reply, I will try tomorrow and let you know if it works

Share This Page