Colinire Posted November 30, 2002 Posted November 30, 2002 Hi, Anyone help me with this little problem? I want my product price to be a different colour from the Product title at the top of the page. How can I do this? Where can I enter the font tags to change this? Cheers Colin
mattice Posted November 30, 2002 Posted November 30, 2002 create a new class in your stylesheet.css: SPAN.PriceColor { font-color: value; font-size: value; } Then in every page (product_info.php includes/modules/product_listing.php etc) where the price needs to be displayed differently add '<span class="PriceColor">' . $price . '</span>' where '$price' perhaps will be called different in each page. Just look and you will spot it. HTH Mattice "Politics is the art of preventing people from taking part in affairs which properly concern them"
chrisbg Posted March 15, 2007 Posted March 15, 2007 create a new class in your stylesheet.css: SPAN.PriceColor { font-color: value; font-size: value; } Then in every page (product_info.php includes/modules/product_listing.php etc) where the price needs to be displayed differently add '<span class="PriceColor">' . $price . '</span>' where '$price' perhaps will be called different in each page. Just look and you will spot it. HTH Mattice This is very cool, but where i need to put the code '<span class="PriceColor">' . $price . '</span>' i tryed several places in product_info.php and includes/modules/product_listing.php, NOTHING changed, please, HELP :huh:
GeorgeP Posted April 26, 2007 Posted April 26, 2007 Chris in modules/product_listing.php check out arround line 112 or 115 I wanted to bold my price column and I added a '<b>' . to $lc_text before the nbsp;
lsamp Posted May 18, 2007 Posted May 18, 2007 I found the answer on this post: http://www.oscommerce.com/forums/index.php?showtopic=177742 It worked for me. Hope it helps you, too.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.