Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change background colour of the "What's New for June&qu


obisghost

Recommended Posts

Posted

Ok - that was a start for me, thanks. You've narrowed down what file I should be looking at.

 

I want to change the background colour of just the "What's New for -----" box. I need it to be a different colour than the side info boxes.

 

Do I need to modify the file catalog/includes/modules/new_products.php ? And/or modify the style sheet?

 

I appreciate your time, thanks.

Posted

You need to mod the style sheet, its a fun job!

Posted

I have already changed the background colour for info boxes - but this applies to all of them. I need a fix just for the 'what's new this month' box in the main content area.

Posted

Nothing but the sound of wind moving through our shopping carts. Doesn't seem to be a solution out there folks. I have hunted high and low to no avail. :(

Posted

In catalog/includes/modules/new_products.php find this code

 

'params' => 'class="smallText" width="33%" valign="top"',

 

and just change smallText to a different value. Then, modify your stylesheet by adding a new line with whatever value you made the class from your new_products.php file.

 

Regards

Wayne Wetterhahn

Posted

ok here's what I did.

 

I replaced "smallText" in catalog/includes/modules/new_products.php with a new style "newprodz".

 

Next, the stylesheet.

 

I duplicated:

 

TD.smallText, SPAN.smallText, P.smallText {

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

font-size: 10px;

}

 

and modified the new one to say:

 

TD.newprodz, SPAN.newprodz, P.newprodz {

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

font-size: 10px;

background-color : White;

}

 

and boom! I have a white new products box and green info boxes in the side columns.

 

Thanks mpdaddy, you're a lifesaver.

Archived

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

×
×
  • Create New...