I want the link of "Units in Stock: Special Order Item" to be in Red. Only I can't work out how to edit it.
The code that defines that link goes like this:
Code:
<!--bof Product Special Order Mod -->
<?php
if ($products_quantity > 0) {
echo (($flag_show_product_info_quantity == 1) ? '<li>' . TEXT_PRODUCT_QUANTITY . $products_quantity . '</li>' : '') . "\n";
} elseif ($products_quantity < -99) {
echo (($flag_show_product_info_quantity == 1) ? '<li>' . TEXT_PRODUCT_QUANTITY . '<span style="text-decoration:underline;"><a href="javascript:popupWindow(\'' . zen_href_link(FILENAME_POPUP_PRODUCT_STOCK) . '\')">' . TEXT_SPECIAL_ORDER . '</a></span></li>' : '') . "\n";
} else {
echo (($flag_show_product_info_quantity == 1) ? '<li>' . TEXT_PRODUCT_QUANTITY . '<span style="text-decoration:underline;"><a href="javascript:popupWindow(\'' . zen_href_link(FILENAME_POPUP_PRODUCT_STOCK) . '\')">' . TEXT_BACK_ORDER . '</a></span></li>' : '') . "\n";
}
?>
<!--eof Product Special Order Mod -->
I have tried simply adding this
Code:
<span style="text-decoration:underline; color:#00ff00;">
http://intelligentworkshoptools.co.u...roducts_id=841
But that just changes the colour of the underline. I think it's got something to do with the way the CSS is inheriting, but I thought it should take the code that is closest to the tag?
Any help appreciated
Bookmarks