Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

infobox background-image


Steven Barkess

Recommended Posts

Hi

 

Rather than just having a single colour as my backgroud in my infobox(s) I want to have an image.

 

Using dreamweaver, I have created the following:

 

TD.infoBoxHeading {
 font-family: Verdana, Arial, sans-serif;
 font-size: 10px;
 background-image: infoboxheading3d.gif;
 color: #ffcc00;
 font-weight: bold;
}

 

I have then out the infoboxheading3d.gif into the same folders as the two 'ends' (/catalog/images/infobox/...).

 

However, the infoboxheading3d.gif is not called.

 

I have a feeling that I need to edit the 'class infoBoxHeading extends tableBox {' but am lost at this point.

 

Appreciate any next steps...

 

Thanks

 

Steven

Link to comment
Share on other sites

Is it any edit to this part:

 

$info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"',
									 'text' => $left_corner),
							   array('params' => 'width="100%" height="14" class="infoBoxHeading"',
									 'text' => $contents[0]['text']),
							   array('params' => 'height="14" class="infoBoxHeading" nowrap',
									 'text' => $right_corner));

Link to comment
Share on other sites

Hi Charles

 

I figured it out.

 

In the above, change

 

background-image: infoboxheading3d.gif;

 

to

 

background-image: url(images/infoboxheading3d.gif);

 

where images/etc is the path to the file

 

Steven

 

 

On mine I want the background to be in the Category box itself and not the heading. I want a background behind the actual links.

 

On and do you know how to set more spacing between the category links?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...