Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need To Change Color On 'New Products' Box Only!


Guest

Recommended Posts

Posted

I've changed the color of the border on the infoboxes (stylesheet.css), but I need to change just the 'new products' box to be a different color. I can add another class entry to the stylesheet for that, but need to identify the code that calls the stylesheet. Looking at includes/classes/boxes.php seems to be the right place, but it also seems to indicate I need to create another sub to the infobox class, but need help with that.

 

PS: please check out the site; comments, praise, and flamethrowers welcome. :wink:

Posted

I changed the new products color in stylesheet.css file.

 

Do a search for this...

 

TD.productListing-heading {

font-family: Verdana, Arial, sans-serif;

font-size: 10px;

background: #FFD013;

color: #006699;

font-weight: bold;

font-variant: small-caps;

}

 

That is what changed mine I believe.

Posted

This isn't it. Look at www.scalehobby.com to see the "New Products For April" section. You see there is a blue border around that box, which I desire to make red; this color is controlled in the infobox class in the .CSS file. I fear that without creating a new instance of infoBox, I will not be able to do it.

Posted

Anyone have a scheme of how to accomplish this?

Posted

There's an explanation on how to have indiviual colours within the boxes in the OSC modifications manual! About half way through. You modify 3 files, /catalog/includes/classes/boxes.php /catalog/includes/classes/information.php and /catalog/stylesheet.css

Life is a highway!

Posted

Thanks, I'll check it out. I'm so used to finding my answers by searching through this forum that I never tried the documentation!

Posted

The last item on my to-do list is complete! Thanks for the pointer, Chris! BTW, British Marines ROCK! 8)

Posted

True! Aussie SAS is known in all the best communities to be the very best at what they do, right after the US SOF (SF and SeALs)! :wink:

  • 1 year later...
Posted

Yo!

 

Anyone know where the OSC modifications manual can be found?

Please post a link.

 

/ Zuncan

So what?! Who care in a hundred years anyway?

Archived

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

×
×
  • Create New...