Нашел ну ничего не получилось , выводит так же две колонки одну маленькую с тремя четырьмя строками а все остальные элементы во второй
вот код
<xsl:template match="group">
<xsl:variable name="parent_id" select="@parent"/>
<div style="margin-bottom: 15px;" align="center">
<table >
<tr>
<td><img src="{image}" alt="{name}" width="{image/@width}" height="{image/@height}" /></td>
</tr>
<tr><td align="center">
<a href="{/shop/path}{fullpath}" style="font-weight: bold">
<xsl:value-of disable-output-escaping="yes" select="name"/>
</a>
</td></tr>
</table>
 <span style="color: #aaaaaa">Количество наименований(<xsl:value-of select="count_all_items"/>

</span>
<br/>
<xsl:value-of disable-output-escaping="yes" select="description"/>
<xsl:if test="count(group) > 1">
<xsl:apply-templates select="group" mode="sub_group"/>
</xsl:if>
</div>
<xsl:if test="position()= round(count(//group[@parent = $parent_id]) div 3)">
<xsl:text disable-output-escaping="yes">
</td>
<td valign="top" width="50%">
</xsl:text>
</xsl:if>
</xsl:template>