Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding background image to table rows


Paycheck

Recommended Posts

I would like to add background images to my table rows currently in the MS1 version 2.2 of OSCommerce cart. The rows that are in forinstance, the top row that houses the navigation links and breadcrumbs, the box table row headers etc. etc. I have tried using the description given in the osCommerce how to, "adding images to box header" however it is not working for background="images/bg_1.gif"

 

an someone please tell me if this can be done via the styles/css sheet?

 

I would appreciate it.

 

John M

Always remember, we need patience, guidance and most of all understanding.

 

My Contributions

Link to comment
Share on other sites

Yes - it is done in the stylesheet.css file

 

Look for:

 

background: #FFE6E6;

(color number may vary...)

 

below the tag you want to change

 

then change it to:

 

background: url(images/bg_image_you_want.jpg) repeat-y;

 

For example to add backgound to Infoboxes change to:

.infoBox {

 background: url(images/bg_image_you_want.jpg) repeat-y;

 

If you want to use a back gound in all places for your whole site change all the "backgound: #xxxxxx" to "background: url(images/bg_image_you_want.jpg) repeat-y;'

 

Good luck!

Link to comment
Share on other sites

I noticed you used jpg, is this an issue or can I use gif. I tried it and it did not work correctly. For instance in the tableHeaderNavigation row I used a bg gif from the nuke smartDark theme, the black gradient and it did not take. ANy suggestions.

 

JM

Always remember, we need patience, guidance and most of all understanding.

 

My Contributions

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...