osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Text Color

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-07-2004, 04:05 PM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
groggory
Default Text Color

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 12-07-2004, 04:10 PM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
groggory
Default

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 12-07-2004, 04:15 PM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
groggory
Default

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 12-07-2004, 04:51 PM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
groggory
Default

http://www.upupandawaykites.com/catalogmax/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 12-08-2004, 10:10 AM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
groggory
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 12-08-2004, 10:12 AM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
groggory
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following User Says Thank You to groggory For This Useful Post:
yulises (08-24-2007)
  #7  
Old 12-08-2004, 02:02 PM
New Member
 
Join Date: Oct 2004
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
beernut
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 12-08-2004, 10:04 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,326
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

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;
}
Then change the style reference in the default_specials.php file to call this new style...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 12-09-2004, 02:06 AM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
groggory
Default

Line 24 of catalog/includes/modules/default_specials.php
Code:
  new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_SPECIALS));
Line 134 of catalog/templates/aabox/stylesheet.css
Code:
TD.infoBoxHeading {
  font-family: Verdana, Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
  background: #587CBE;
  color: #ffffff;
}
So doesn't the class TD.infoboxheading control that text? I'm a real newb when it comes to CSS.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 12-09-2004, 11:23 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,326
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

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>'));
to this:
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>'));
Now your link will be white.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
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


All times are GMT -8. The time now is 05:33 PM.


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