blr044 Posted January 19, 2009 Share Posted January 19, 2009 Did look in stylesheet under *SPAN.markProductOutOfStock but was not the answer. Even tried to add some html to product_info around line 305 (date_available), nothing happen. I would like that piece of text to be the same color as when product was added to store. Below is two links, the first is when product is out and the second is product is in stock. Product out! Product in! I would like a color thta would be easier to see. Thanks. blr044 Link to comment Share on other sites More sharing options...
juniorprg Posted January 19, 2009 Share Posted January 19, 2009 in oscommerce the colors are determined through (CSS) stylesheets, go to your catalog folder look for stylesheet.css l8ter Link to comment Share on other sites More sharing options...
blr044 Posted January 19, 2009 Author Share Posted January 19, 2009 I did a search in stylesheet even by font color on web page, and I'm not seeing it. Been working with all colors but nothing is happening. Link to comment Share on other sites More sharing options...
blr044 Posted January 19, 2009 Author Share Posted January 19, 2009 Had to add some code to the stylesheet. But still cannot change font color. Link to comment Share on other sites More sharing options...
juniorprg Posted January 19, 2009 Share Posted January 19, 2009 do you see something like this in your stylesheet.css .stockWarning { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #cc0033; } i am not sure if that control these font colours l8ter Link to comment Share on other sites More sharing options...
blr044 Posted January 19, 2009 Author Share Posted January 19, 2009 do you see something like this in your stylesheet.css .stockWarning { font-family : Verdana, Arial, sans-serif; font-size : 10px; color: #cc0033; } i am not sure if that control these font colours Yes, I did try that one. that did not do what I was looking for. Link to comment Share on other sites More sharing options...
APoohW Posted October 9, 2009 Share Posted October 9, 2009 I don't know if anyone is still having this problem but I figured out how to fix it today. I really hope this helps someone and they don't spend the amount of time I did on this problem... The file you need to edit is in the catelog/includes/languages/english/product_info.php LINE SAYS: define('TEXT_DATE_AVAILABLE', '<font color="#(COLOR)">This product will be in stock on %s.</font>'); EDIT LINE TO: define('TEXT_DATE_AVAILABLE', 'This product will be in stock on %s.'); This will allow you to edit the color in the .stockWarning {} class in your cassacading style sheet. I really hope this helps someone else out.... :thumbsup: Link to comment Share on other sites More sharing options...
blr044 Posted October 28, 2009 Author Share Posted October 28, 2009 I don't know if anyone is still having this problem but I figured out how to fix it today. I really hope this helps someone and they don't spend the amount of time I did on this problem... The file you need to edit is in the catelog/includes/languages/english/product_info.php LINE SAYS: define('TEXT_DATE_AVAILABLE', '<font color="#(COLOR)">This product will be in stock on %s.</font>'); EDIT LINE TO: define('TEXT_DATE_AVAILABLE', 'This product will be in stock on %s.'); This will allow you to edit the color in the .stockWarning {} class in your cassacading style sheet. I really hope this helps someone else out.... :thumbsup: .stockWarning only affects shoppiong cart page. Even looked at smallText which also refers ot other sections on various pages. Never did think of it being in the language/english/product_info.php. What I did was changed smallText to .productOut and then added it to the stylesheet with it's own code. like the following: Before: <tr> <td align="center" class="smallText" colspan="2"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td> </tr> After: <tr> <td align="center" class="productOut" colspan="2"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td> </tr> But will look at your post to and go from there. Thanks. Bennett Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.