jay3wpb Posted October 9, 2005 Posted October 9, 2005 Hi fairly new to oscommerce, When I add categories and subcategories I want the link to be just the image, what I get now is the cat image and then the cat name in text underneath, how to I remove this. I have searched the forum and surprisingly couldnt find anyone else that has asked this. Any help is greatly appreciated.
gscreations Posted October 9, 2005 Posted October 9, 2005 in index.php line 104 on standard site reads: echo ' <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br>' . $categories['categories_name'] . '</a></td>' . "\n"; change to : echo ' <td align="center" class="smallText" width="' . $width . '" valign="top"><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '</a></td>' . "\n"; :thumbsup:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.