Yari Posted March 11, 2004 Share Posted March 11, 2004 Hi. Can someone tell me how I can change the background color in the New Products For Mars box ? Link to comment Share on other sites More sharing options...
BigDice Posted March 11, 2004 Share Posted March 11, 2004 You have to edit the stylesheet.css in order to change the colors n such. Link to comment Share on other sites More sharing options...
Yari Posted March 11, 2004 Author Share Posted March 11, 2004 I can't find it in the css file. Can you or someone else tell me how I change it ? Link to comment Share on other sites More sharing options...
Guest Posted March 11, 2004 Share Posted March 11, 2004 Your .css file will be in: catalog/stylesheet.css Backgorund should be right up top. Now I have not changed my entire background, but I did put an image in my right and left columns and my header. I did the header like this in catalog/stylesheet.css TR.header { BACKGROUND-IMAGE: url(images/LBROSE.jpg) ; } this was a suggestion from one of our php guru's in one of the thread yesterday. Now my LBROSE.jpg is a tile and you can see this in the header if you look close but you can pretty much do whatever you want. Here is a link to my site which, I'm proud to say, went live 2 days ago!!!java script:emoticon(':rolleyes:') My Webpage Hope this helps you with what you want or at least points you in the right direction. Good Luck Teresa java script:add_smilie(%22:D%22) Link to comment Share on other sites More sharing options...
Yari Posted March 11, 2004 Author Share Posted March 11, 2004 That did not help me much. It is this background I need to change to white on a clients shop. So any help is appreciated. Link to comment Share on other sites More sharing options...
Guest Posted March 11, 2004 Share Posted March 11, 2004 I can tell you where to find the file if that helps? includes\modules\new_products.php It's a table so I'd assume you just set the background colour of the table to white. <td bgcolor="#FFFFFF"> </td> Not sure if this will help... Jane ;) Link to comment Share on other sites More sharing options...
Yari Posted March 11, 2004 Author Share Posted March 11, 2004 That did not help me much either :( Link to comment Share on other sites More sharing options...
Yari Posted March 12, 2004 Author Share Posted March 12, 2004 I still need help with this. Link to comment Share on other sites More sharing options...
etepalusip Posted March 12, 2004 Share Posted March 12, 2004 Yari, I believe it's in stylesheet.css under .infoBoxContents (background) Pete Link to comment Share on other sites More sharing options...
Yari Posted March 12, 2004 Author Share Posted March 12, 2004 But if I change that don't all the infoboxes change color ? It's just the New Products box I want to change color on. Link to comment Share on other sites More sharing options...
ozcsys Posted March 12, 2004 Share Posted March 12, 2004 But if I change that don't all the infoboxes change color ? It's just the New Products box I want to change color on. You have a couple of choices. You can create a new class just for the box you want to change. Basically copy the infobox info in the style sheet and rename it and then change the new products box where it calls for the infobox info to your new class. There is also a contribution that will let you make all the boxes different but if you only want to change one that is probably overkill. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right?? Link to comment Share on other sites More sharing options...
Kimbot Posted March 13, 2004 Share Posted March 13, 2004 Hi. Got to the WIKI and read up on the style sheet. They have a full explanation of every line in the sheet. I found it a great help when I was setting up. http://wiki.oscommerce.com/docsCatStyle Catalog Stylesheet is usually in catalog/stylesheet.css In the stylesheet you can change almost every colour for text and background right thru the whole thing. Good luck! ;) Kim Grant Carter - Koh Samui - Thailand "This sentence is not true." Link to comment Share on other sites More sharing options...
Yari Posted March 14, 2004 Author Share Posted March 14, 2004 Hi. Thanks all for the help. I changed the .infoBoxContents background color in the css file even if I didn't want to change the background color on all the infoboxes, but I guess it will be good enough ;) Link to comment Share on other sites More sharing options...
glwhatrup Posted March 26, 2006 Share Posted March 26, 2006 If anyone is reading this, and needs the answer: In catalog/includes/modules/new_products.php add bgcolor="-------" to the params - see below: 'params' => 'class="smallText" width="33%" valign="top" bgcolor="#FFFFFF"', This will change the background colour of the new products infobox, without changing all the other infoboxes. xGemx ;) Link to comment Share on other sites More sharing options...
spax Posted March 26, 2006 Share Posted March 26, 2006 I can't believe you have a client, yet don't know how to do this. Link to comment Share on other sites More sharing options...
dragon5 Posted June 6, 2006 Share Posted June 6, 2006 If anyone is reading this, and needs the answer: In catalog/includes/modules/new_products.php add bgcolor="-------" to the params - see below: 'params' => 'class="smallText" width="33%" valign="top" bgcolor="#FFFFFF"', This will change the background colour of the new products infobox, without changing all the other infoboxes. xGemx ;) Thanks Gemma. Been trying to do this for days. I knew there had to be a simple way without creating New_Classes etc.... Tom Link to comment Share on other sites More sharing options...
ntracy Posted January 11, 2008 Share Posted January 11, 2008 If anyone is reading this, and needs the answer: In catalog/includes/modules/new_products.php add bgcolor="-------" to the params - see below: 'params' => 'class="smallText" width="33%" valign="top" bgcolor="#FFFFFF"', This will change the background colour of the new products infobox, without changing all the other infoboxes. xGemx ;) Thanks for the tip. I have the display price is white too. So how do I change this display price to different color? thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.