New Zenner
- Join Date:
- May 2006
- Location:
- UK
- Posts:
- 28
- Plugin Contributions:
- 0
Changing Layout of Category Images on Main Page.
Hi all, I'm using Zen Cart 1.3.7.
Site URL: http://www.dotcomtoolsuk.com
I want to display the top level category images on my main page differently to the subcategory images on the category pages, can this be done?
On the category pages, I have images that are 150px square with 3 images per row. See example **here**.
However, on the Main Page, I want to show my top level categories with images that are 100px square and have 5 images per row.
Using Firebug, I found the code that controls this:
<div class="categoryListBoxContents" style="width: 33%;">
</div>
<div class="categoryListBoxContents" style="width: 33%;">
</div>
<div class="categoryListBoxContents" style="width: 33%;">
</div>
<br class="clearBoth"/>
<div class="categoryListBoxContents" style="width: 33%;">
</div>
<div class="categoryListBoxContents" style="width: 33%;">
</div>
<div class="categoryListBoxContents" style="width: 33%;">
</div>
<br class="clearBoth"/>
<div class="categoryListBoxContents" style="width: 33%;">
</div>
<div class="categoryListBoxContents" style="width: 33%;">
</div>
<div class="categoryListBoxContents" style="width: 33%;">
</div>
<br class="clearBoth"/>
<div class="categoryListBoxContents" style="width: 33%;">
</div>
<br class="clearBoth"/>
I assume that this is a result of the settings made in the Admin>Configuration>Maximum Values page as any changes made there affect the display of all category images.
So, is there a way to change the layout of the Main Page category images without affecting the layout of the subcategory images on the category pages? If so, which file/s would I need to edit?
I've searched the forums but found nothing on this subject so any help will be much appreciated.
Regards,
Michael.
My first Zen Cart site: www.dotcomtoolsuk.com