Guest Posted July 18, 2008 Posted July 18, 2008 Hi Guys, how would i add a line break between the sub-category boxes where it spills over onto a new line. I think it's in the following code in index...? $cPath_new = tep_get_path($categories['categories_id']); $width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW) . '%'; 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"; if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) { echo ' </tr>' . "\n"; echo ' <tr>' . "\n"; } } TIA Richard
FIMBLE Posted July 18, 2008 Posted July 18, 2008 No its in catalog / includes / boxes / categories. Look for '<br>' replace or add <hr> Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Guest Posted July 18, 2008 Posted July 18, 2008 Hi Nic, I need to add a further line between the cats on the main page not in the left column box? The only <br> i can find refers to the line spacing between the left column list?? I think!
FIMBLE Posted July 18, 2008 Posted July 18, 2008 You mean the Products new box? Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Guest Posted July 18, 2008 Posted July 18, 2008 I mean http://www.mysite.com/catalog/index.php?cPath=29 when you slect a category in the left menu & the categories come up in the middle
FIMBLE Posted July 18, 2008 Posted July 18, 2008 Hi Rich thats not your URL tho so it does not mean anything! Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Recommended Posts
Archived
This topic is now archived and is closed to further replies.