Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

design help


Recommended Posts

I have read everything at oscdox.com about the design of oscommerce and changing the box colors independently was not a problem, my question is now, do I use the same basic concept in order to make each boxes heading different?

I have a infobox with a blue background and I want a blue heading and I have a box with a gold background and I would like for it to have a gold heading.


any help would be appreciated.



Link to comment
Share on other sites

ummm ... my best guess (with a hunch that I am right) is:


1. pick up the code from that infobox file in /catalog/includes/infoboxes/infobox.php and put it in a table cell with the formatting matching your fancy.


Hope it should work.



Link to comment
Share on other sites

The class for your infobox are: infobox_heading (for header) and infobox_content ( for the content)

Juste create infobox_heading1 and infobox_content1 for another box

infobox_heading2 and infobox_content2 etc ...etc



Link to comment
Share on other sites

I am sorry but your description was a little vague.


I am assuming that what I need to change is in /catalog/includes/classes/boxes.php?


the only thing that I can find on info box headings that looked like it might be what I need was this:


class infoBoxHeading extends tableBox {

function infoBoxHeading($contents, $left_corner = true, $right_corner = true, $right_arrow = false) {

$this->table_cellpadding = '0';


Am I close?

Link to comment
Share on other sites

I still can't figure this out, every thing i try leads to fubar, is there a contrib that allows seperate infobox headings or does someone allready have this code that they could post?


thanks in advance, kirk

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...