New Zenner
- Join Date:
- Nov 2008
- Location:
- Gex, France
- Posts:
- 71
- Plugin Contributions:
- 0
Change price colour in 'New Products' box
Hi there guys,
I am looking for a way to change the color of the price in the New Products box. I have managed to add a new div for the product name but can't seem to get the div in the correct place for the price without breaking the page.
here is the code
$list_box_contents[$row][$col] = array('params' => 'class="centerBoxContentsNew centeredContent back"',
'text' => (($new_products->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) ? '' : '<a href="' . zen_href_link(zen_get_info_page($new_products->fields['products_id']), 'cPath=' . $productsInCategory[$new_products->fields['products_id']] . '&products_id=' . $new_products->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $new_products->fields['products_image'], $new_products->fields['products_name'], IMAGE_PRODUCT_NEW_WIDTH, IMAGE_PRODUCT_NEW_HEIGHT) . '</a><br />') . '<div id="newProductName"><a href="' . zen_href_link(zen_get_info_page($new_products->fields['products_id']), 'cPath=' . $productsInCategory[$new_products->fields['products_id']] . '&products_id=' . $new_products->fields['products_id']) . '">' . $new_products->fields['products_name'] . '</a></div><div id="newDivider"></div><br />' . $products_price);
I'd like to add a div called <div id="newProductPrice">
If you can help that would be fantastico!!!!
Thanks guys
Matt
Matt Martin
Graphic Content (UK)
www.graphiccontent.co.uk