osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Font color on "Specials" and "New Products&qu

This is a discussion on Font color on "Specials" and "New Products&qu within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; I've changed my stylesheet.css to change the color of the infoboxheading class, but two items on my home page of ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-31-2004, 02:22 PM
Member
 
Join Date: Feb 2004
Posts: 89
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
gheffron
Default Font color on "Specials" and "New Products&qu

I've changed my stylesheet.css to change the color of the infoboxheading class, but two items on my home page of my catalog come up in a different font color (black): the "Specials" and "New Product" listings at the bottom of my page.

You can see this at: http://216.57.219.86/ecom/catalog/index.php

You can view my stylesheet at http://216.57.219.86/ecom/catalog/stylesheet.css to confirm that that text should be white.

All my other headings are white. Anyone know why these two would be black?

Thanks,
Greg
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 03-31-2004, 05:00 PM
Active Member
 
Join Date: Feb 2004
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Kristine is an unknown quantity at this point
Default

I think it is because they are not just text but also links?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 04-01-2004, 12:03 AM
Member
 
Join Date: Feb 2004
Posts: 89
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
gheffron
Default Figured it out!

I'm not sure if that was it, but I was able to go in and add a CSS style to my stylesheet.css called A.subheads

Code:
A.subheads {
color: #FFFFFF;
}

Then, I looked at the source code for the page in my browser and found this text:
<!-- default_specials //-->

I figured that text was being generated by the include file that displayed the specials. So I searched through all the files in the /include/ subdirectory for the content "<!-- default_specials //-->" Lo and behold, I found includes/modules/default_specials.php!

So then I searched through the code for this page and found line 23:

Code:
  $info_box_contents[] = array('align' => 'left', 'text' => '<a class="subheads" href="' . tep_href_link(FILENAME_SPECIALS) . '">' . spr....etc.etc.etc....
This looked like code that created the heading, so simply added in my new CSS class:

$info_box_contents[] = array('align' => 'left', 'text' => '<a class="subheads" href="' . tep_href_link(FILENAME_SPECIALS) . '">' . spr.........

It worked completely -- and I learned about CSS in the process. Tres cool.

To change the "New Products" listing, I looked in the same directory and found new_products.php. I simply made the same changes there...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 04-01-2004, 01:40 AM
Active Member
 
Join Date: Feb 2004
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Kristine is an unknown quantity at this point
Default

well there ya go!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Remove "QTPRO" for "Option Type Feature" adam71o osCMax v2 Customization/Mods 3 01-10-2007 09:32 AM
How to change the "date" and "months" na oling osCMax v2 Installation issues 2 08-25-2006 09:09 AM
"Price" and "Add to Cart" button inside midwestwebsites osCMax v2 Customization/Mods 3 11-14-2005 04:13 AM
Unlinking "Specials For" and "New Products Fo bsa osCMax v1.7 Discussion 5 04-19-2004 11:29 AM
"available option" text font.... starchild osCommerce 2.2 Modification Help 1 05-10-2003 10:13 AM


All times are GMT -8. The time now is 08:14 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax