Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Giving all item images a border?


d4kk0n

Recommended Posts

Posted

I'd like to have a 1px border around each item image, but it looks like this might be a bit complicated.

 

I see that you are supposed to pass it in the "params" arg, but I'm not sure where I need to put the img.[class] tag that I need to insert.

 

anyone?

Posted

I did something like this in catalog/stylesheet.css - I do believe I have added a class or two here, but you will get the idea:

 

td.productListing-data img {
border: 1px black solid;
} 
td.productListing-data a:hover img {
border: 1px orange solid;
}

td.boxtext img {
border: 1px black solid;
}

td.boxtext a:hover img {
border: 1px orange solid;
}

table.infoBoxContents2 td.boxtext img {
border: 1px black solid;
}

table.infoBoxContents2 td.boxtext a:hover img {
border: 1px orange solid;
}

td.smalltext img {
border: 1px black solid;
} 

td.smalltext a:hover img {
border: 1px orange solid;
}

 

Matti

Archived

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

×
×
  • Create New...