benpower Posted December 20, 2005 Posted December 20, 2005 Just a quick question...... doses anyone know offhand where to change the style of the text 'Customers who bought this product also purchased' that appears when viewing products. I know this sounds minor but ive spent the last 2 hours trying to find where i can change the colour of the text from white to blue. I thought it may be changed at the bottom of the 'product_info.php' page , ive messed about but cant figure out how to sort it.......such a simple problem thats seriously doin ma head in!! site im changing if needed is Power Records thanks in advance for any help 8o)
kgt Posted December 20, 2005 Posted December 20, 2005 includes/modules/also_purchased_products.php You can add a CSS class, or use an HTML font tag to change color. $info_box_contents = array(); $info_box_contents[] = array('params' => 'class="myClass"', 'text' => TEXT_ALSO_PURCHASED_PRODUCTS); Contributions Discount Coupon Codes Donations
benpower Posted December 21, 2005 Author Posted December 21, 2005 cheers for the reply kg..... i thought thats where it would change aswell so i'd already tried that but no joy which was confusing. I think the way to go, seen as it only this one line of text i want to change would be adding a html tag straight to the code. Are there any particular ways i would need to write this code so it works within the php (n00b at php) or is it added just the same as a standard web page? appriciate the help 8o)
benpower Posted January 6, 2006 Author Posted January 6, 2006 Need help on this. It is really stressing me out, because it should be so simple!
Guest Posted January 6, 2006 Posted January 6, 2006 Need help on this. It is really stressing me out, because it should be so simple! The answer was already posted above by kgt. But here it is set out a bit so maybe it won't be confusing.. Add this to your style sheet -- .also_purchased { color: #0000FF; } In includes/modules/also_purchased_products.php Change This -- <!-- also_purchased_products //--> <?php $info_box_contents = array(); $info_box_contents[] = array('text' => TEXT_ALSO_PURCHASED_PRODUCTS); To This -- <!-- also_purchased_products //--> <?php $info_box_contents = array(); $info_box_contents[] = array('params' => 'class="also_purchased"', 'text' => TEXT_ALSO_PURCHASED_PRODUCTS); -- Mindy
Recommended Posts
Archived
This topic is now archived and is closed to further replies.