Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Need to change text color in IE6

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-25-2009, 10:55 AM
 
rageon75 rageon75 is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Need to change text color in IE6

In IE6, in the product details of my page, the text is suppose to be white but it is coming out black. You cannot see the Item Number, Quantity and the Weight. So I added this code to the main.IE6.css file but it did not work?:

#page-container {
height: 100%;
border-left: 0px none;
float: right;
position: relative;
background-color: #000000;
}
.dialog .content {
color: #ffffff;

}
#page-container2 {
float: left;
margin-left: 0px;
position: relative;
height: 620px; /* bottom-expand */
}

What am I doing wrong? Here is the link if you want to see what I'm talking about. Thanking everybody in advance.
__________________
X-Cart Gold 4.2 - 4.3 - 4.4.5 - 4.6 - 4.7
Reply With Quote
  #2  
Old 02-26-2009, 08:15 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Need to change text color in IE6

The class is .property-name. What is it set to in main.css?

Also check.. ,product-price
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #3  
Old 02-26-2009, 08:25 AM
 
rageon75 rageon75 is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Re: Need to change text color in IE6

I did a find for .property-name in dreamweaver and this is what it found:

table.product-properties .property-name {
padding-right: 5px;
white-space: nowrap;
width: 30%;

and for .product-price I found:

table.product-properties .product-price {
color: #ffffff;
font-weight: bold;
font-size: 12px;
vertical-align: top;

I hope that is what you are talking about. I am very new at CSS and I thank you for all your help.
__________________
X-Cart Gold 4.2 - 4.3 - 4.4.5 - 4.6 - 4.7
Reply With Quote
  #4  
Old 02-26-2009, 08:40 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Need to change text color in IE6

What is more interesting is your "add to cart" button is just a thin line in IE7.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #5  
Old 02-26-2009, 08:45 AM
 
rageon75 rageon75 is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Re: Need to change text color in IE6

I know I have been trying to figure out whats wrong with that for a long time?
__________________
X-Cart Gold 4.2 - 4.3 - 4.4.5 - 4.6 - 4.7
Reply With Quote
  #6  
Old 02-26-2009, 12:46 PM
 
ChristineP ChristineP is offline
 

eXpert
  
Join Date: Jul 2008
Posts: 310
 

Default Re: Need to change text color in IE6

Have you tried adding a hack to your .css?

if I followed this correct the class id is .property-name? then try adding this at the bottom of your .css to call out the class id. Adding * html is the hack for IE6 and IE7.

* html .property-name {
color: #ffffff;
}


Quote:
Originally Posted by rageon75
In IE6, in the product details of my page, the text is suppose to be white but it is coming out black. You cannot see the Item Number, Quantity and the Weight. So I added this code to the main.IE6.css file but it did not work?:

#page-container {
height: 100%;
border-left: 0px none;
float: right;
position: relative;
background-color: #000000;
}
.dialog .content {
color: #ffffff;

}
#page-container2 {
float: left;
margin-left: 0px;
position: relative;
height: 620px; /* bottom-expand */
}

What am I doing wrong? Here is the link if you want to see what I'm talking about. Thanking everybody in advance.
__________________
______________
version 4.1.9 Gold
Reply With Quote
  #7  
Old 02-26-2009, 02:48 PM
 
rageon75 rageon75 is offline
 

Senior Member
  
Join Date: Feb 2009
Posts: 108
 

Default Re: Need to change text color in IE6

Thank you ChristineP. It worked! The item number and weight now show up but the actual numbers are still black and not white? What should I change? Thank you so much again.
__________________
X-Cart Gold 4.2 - 4.3 - 4.4.5 - 4.6 - 4.7
Reply With Quote
  #8  
Old 02-27-2009, 05:36 AM
 
ChristineP ChristineP is offline
 

eXpert
  
Join Date: Jul 2008
Posts: 310
 

Default Re: Need to change text color in IE6

From the View source I see there are three defined styles you should check in your .css to possibly add the IE hack. Find which style(s) are defining the color for these:
property-value
product_code
product_weight

add your hack as needed to each of the above that have the defined color of white
* html .property-value {
color: #ffffff;
}
* html .product_code {
color: #ffffff;
}
* html .product_weight {
color: #ffffff;
}

Hope this does the trick.

Christine

Quote:
Originally Posted by rageon75
Thank you ChristineP. It worked! The item number and weight now show up but the actual numbers are still black and not white? What should I change? Thank you so much again.
__________________
______________
version 4.1.9 Gold
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:24 AM.

   

 
X-Cart forums © 2001-2020