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

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...