X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Need to change text color in IE6 (https://forum.x-cart.com/showthread.php?t=45835)

rageon75 02-25-2009 10:55 AM

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.

JWait 02-26-2009 08:15 AM

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

rageon75 02-26-2009 08:25 AM

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.

JWait 02-26-2009 08:40 AM

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.

rageon75 02-26-2009 08:45 AM

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?

ChristineP 02-26-2009 12:46 PM

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.


rageon75 02-26-2009 02:48 PM

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.

ChristineP 02-27-2009 05:36 AM

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.



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

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.