Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Discount Strike through colour

Discount Strike through colour

Locked

Views: 1,497

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
23 Jun 2006, 3:39 AM
#1
dmwizzard avatar

dmwizzard

New Zenner

Join Date:
Jun 2006
Posts:
25
Plugin Contributions:
0

Discount Strike through colour

I'm trying to change my discount font colour, so that when an item is marked as 'It's Free' not only is the price got a strick through it (Default) but the colour is red.

I'm looking at this in the "stylesheet_original.css"

span.productSpecialPriceSale {
color: #ff0000;
text-decoration: line-through;

It has the colour set to red but in my listings it's still black with a strike through! and it's driving me nuts!!! 4hours and counting LOL

I'm using my own template and i'm editing the CSS in that. Is there an override else where i need to look at?

Cheers Guys

23 Jun 2006, 5:09 AM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Discount Strike through colour

This is a problem that can happen when more than one stylesheet is used.
i.e. maybe one overrides another.
Using one stylesheet only, based on template_default for 1.3*, css below
is what controls your problem

.productSpecialPrice, .productSalePrice, .productSpecialPriceSale, .productPriceDiscount {
color: #ff0000;
}
23 Jun 2006, 7:49 PM
#3
dmwizzard avatar

dmwizzard

New Zenner

Join Date:
Jun 2006
Posts:
25
Plugin Contributions:
0

Re: Discount Strike through colour

That's the One!!

I had more than one Stylesheet active. I found it with 'View Source' in IE and looked at the head contents

THanks Misty, Karma +5 :thumbsup: