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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| I think it is because they are not just text but also links? |
|
#3
| |||
| |||
| 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....
$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... |
|
#4
| |||
| |||
| well there ya go! |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |