Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding new headers for boxes?


Guest

Recommended Posts

Make the image blank - no text.

FTP it into your images folder.

 

Edit your stylesheet.css like this

 

TD.infoBoxHeading {
 font-family: Verdana, Arial, sans-serif;
 font-size: 10px;
 font-weight: bold;
 background: url("/images/box_header.gif");
 color: #ffffff;
}

 

Replace box_header.gif with your image name.

 

 

You will also have to edit the corner images:

images/infobox/corner_left.gif

images/infobox/corner_right.gif

images/infobox/corner_right_left.gif

 

Make them 1 px transparent GIFs.

 

 

The text generated for each box header will be displayed against your image background.

 

:D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...