Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Sidebox vs. Products Info

Sidebox vs. Products Info

Views: 532

Results 1 to 5 of 5
15 Mar 2011, 4:19 PM
#1
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,440
Plugin Contributions:
3

Sidebox vs. Products Info

Is there a way to show the products specials in a different color on the sideboxes than on the mainwrapper?

.productSpecialPrice, .productSalePrice, .productSpecialPriceSale, .productPriceDiscount {
   color: #330000;
   }

I tried adding the #whatsnew and others (like sideboxes, columns) but didn't work.

This is because my boxes are dark and main wrapper is white, so I need prices, specials, discounts, etc. shown in different colors in those 2 areas. :unsure:

Any help would be appreciated.

15 Mar 2011, 4:23 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Sidebox vs. Products Info

We need to see the site to answer this correctly.

15 Mar 2011, 4:25 PM
#3
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,440
Plugin Contributions:
3

Re: Sidebox vs. Products Info

Just add /sandbox to my domain.

15 Mar 2011, 5:25 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Sidebox vs. Products Info

The specials and new sidebox content code is missing the standard line that gives each an id like #specialsContent, so you need to use the container id to specify it:

#specials .productSpecialPrice, #specials .productSalePrice, #specials .productSpecialPriceSale, #specials .productPriceDiscount {
color: #330000;
}

(This code is missing in the stock template files; it's not an individual template issue. The #sideboxnameContent id is actually superfluous, as the same control can be achieved with #sideboxname .sideBoxContent )

15 Mar 2011, 6:23 PM
#5
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,440
Plugin Contributions:
3

Re: Sidebox vs. Products Info

Awesome! Worked like a charm. THANKS! :clap:

Weird that the sideboxes original templates don't have that code in them.