This is a discussion on Text Color within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; On my main page, bot the 'new products for december' and 'specials for december' are colored in black. The background ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| On my main page, bot the 'new products for december' and 'specials for december' are colored in black. The background in blue and they are almost completely unviewable. How can I change this text to white? |
|
#2
| |||
| |||
| TD.infoBoxHeading { font-family: Verdana, Arial, sans-serif; font-size: 10px; font-weight: bold; background: #587CBE; color: #ffffff; } That's from my CSS file....what entry in the CSS sheet pertains to my question? |
|
#3
| |||
| |||
| catalog/includes/modules/default_specials.php seems to hold the formatting for the box. I'm still stumped though. It seems to call the CSS function infoBoxHeading. Which is what I posted above and the text color should be #ffffff , which is white (what I want). Any ideas? |
|
#4
| |||
| |||
| |
|
#5
| |||
| |||
| Does anyone know how to do this? It seems to be a default AABox template problem as that text is black even in a default MAX install. I'm sure someone out there has found a fix. Thanks. |
|
#6
| |||
| |||
| if I could figure out where that line is being called from, could I just manually throw white font color tags around it? Thats so quick and dirty and static. Just kinda defeats the purpose of a template CSS driven site. So if we could fix this the RIGHT way that would be great. That and msaek should put this fix if we get it in the new version of MAX. |
| The Following User Says Thank You to groggory For This Useful Post: | ||
yulises (08-24-2007) | ||
|
#7
| |||
| |||
| I posted pretty much the same question the other day without any response. They are not white because they are hyperlinks so the css clas which is controlling them is as follows. A { color: #000000; text-decoration: none; } A:hover { color: #AABBDD; text-decoration: underline; The problem is if you lighten these up then all the links in your category menu get lightened also. |
|
#8
| ||||
| ||||
| All you need to do is create a new style for 'specials links' in stylesheet.css and call it in the template. That way, you can still have a specific color for the link and not bother your other links. So, add something like this to your stylesheet: Code: A.specials {
color: Silver;
text-decoration: none;
}
__________________ Michael Sasek osCMax Developer
|
|
#9
| |||
| |||
| Line 24 of catalog/includes/modules/default_specials.php Code: new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_SPECIALS)); Code: TD.infoBoxHeading {
font-family: Verdana, Arial, sans-serif;
font-size: 10px;
font-weight: bold;
background: #587CBE;
color: #ffffff;
}
|
|
#10
| ||||
| ||||
| Here is an example. This Changes the style of the link to use the headerNavigation style (white by default): Edit this line in default_specials.php: Code: $info_box_contents[] = array('align' => 'left', 'text' => '<a href="' . tep_href_link(FILENAME_SPECIALS) . '">' . sprintf(TABLE_HEADING_DEFAULT_SPECIALS, strftime('%B') . '</a>'));
Code: $info_box_contents[] = array('align' => 'left', 'text' => '<a href="' . tep_href_link(FILENAME_SPECIALS) . '" class="headerNavigation">' . sprintf(TABLE_HEADING_DEFAULT_SPECIALS, strftime('%B') . '</a>'));
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to change color of text in categories box | joanstead | osCMax v2 Customization/Mods | 2 | 01-17-2006 06:58 AM |
| Specific Problem with Text Color | draeseke | osCommerce 2.2 Modification Help | 1 | 08-01-2005 06:03 AM |
| color of header text in new products and specials boxes | dschroedl | osCMax v1.7 Discussion | 1 | 08-24-2004 05:35 AM |
| Infobox text color help | Dumb_Question | osCommerce 2.2 Modification Help | 3 | 09-15-2003 09:27 AM |
| How do you change the text color in the box headings? | jmbishop | osCommerce 2.2 Modification Help | 1 | 02-13-2003 06:13 PM |