JaydenKlahan Posted February 20, 2007 Share Posted February 20, 2007 In the "categories", the color of the background is blue how can i change it to make white like in "new products"?? http://www.accroshop.com/shop/index.php?cPath=21 Link to comment Share on other sites More sharing options...
Guest Posted February 20, 2007 Share Posted February 20, 2007 by changing the infoBox constructor to accept a separate css class. Then override the $this->table_parameters fields with the passed css name. Leave the default css that the box uses as the default css name in the constructor. So when you instantiate the box class if you pass the extra parameter it will use the override otherwise it will use the default class. ie: class infoBox extends tableBox { function infoBox($contents, $css_class='class="infoBox"') { $this->table_parameters = $css_class; ......... Link to comment Share on other sites More sharing options...
Guest Posted February 20, 2007 Share Posted February 20, 2007 oops that got duplicated Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.