Afternoon all.
I am displaying all my categories and their images on my main page of the site.
http://test.italianhampers.co.uk
I would like to give the images a border as per the cateogry images on any cateogry listing page, example
http://test.italianhampers.co.uk/ind...=index&cPath=6
I think I need to edit category_row.php which generates the main index category listing on how it builds the page, I dont know where I insert the code, or the syntax.
Can I use the piece of CSS that is already in my stylesheet for the category listing?(2nd link)PHP Code:// $categories->fields['products_name'] = zen_get_products_name($categories->fields['products_id']);
$list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' . ' ' . 'style="width:' . $col_width . '%;"',
'text' => '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br />' . $categories->fields['categories_name'] . '</a>');
Thanks for any help.



Reply With Quote



Bookmarks