How to Increase repeatcolumns of sub-category-grid

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 years ago
Hi,

I want to list 4 categories in a row using sub-category-grid.
Please let me know where i need to change this so that 4 categories under Computers are shown in horizontal.

I tried to change following lines in Templates/Categories/ProductsInGrid.ascx from
    <div class="sub-category-grid">
        <asp:DataList ID="dlSubCategories" runat="server" RepeatColumns="2" RepeatDirection="Horizontal"
To
    <div class="sub-category-grid">
        <asp:DataList ID="dlSubCategories" runat="server" RepeatColumns="4" RepeatDirection="Horizontal"

But this didnot work for me.
Would appreciate if anyone could help me.

Thank you,
KK
13 years ago
you've done the correct thing:

you've edited the category template but you also need to edit ( from store admin ) which template that category uses - out of the box, there are three category templates

in admin, edit

categories-->desktops-->

look for the drop down list next to 'Template'  and select Products In Grid


save and view your category
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.