Guest Posted September 24, 2005 Posted September 24, 2005 on these two pages, how can i change the background color of the IMAGE box only, and leave the price, buy now and item title a different color? on the css, i believe the class is productlisting-odd and productlisting-even and i want only ONE <td> changed, not the entire line
Guest Posted September 26, 2005 Posted September 26, 2005 its the productListing-data but its common for all cells so another way of doing is to specify a custom class on each of the case: statements like PRODUCT_LIST_PRICE, PRODUCT_LIST_IMAGE etc for example after the #lc_text on each case is set, $lc_text = '<span class="yournewclass">' . $lc_text . '</span>'; so you reassign a class for the $lc_text content. This way you can specify different colors for each column for example.
Guest Posted September 27, 2005 Posted September 27, 2005 which file would i need to edit to do this?
Guest Posted September 27, 2005 Posted September 27, 2005 its in the catalog\includes\modules\product_listing.php You will see different cases for each product element where the $lc_text variable is assigned. So after the variable is set (on the next line before the break;) add your <span> thingy.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.