If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Featured Products - change price color and font

Featured Products - change price color and font

Locked

Started by pennylane on 30 Aug 2009, 3:07 AM · Views: 5,073

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
30 Aug 2009, 3:07 AM
#1
pennylane avatar

pennylane

New Zenner

Join Date:
Aug 2009
Posts:
31
Plugin Contributions:
0

Featured Products - change price color and font

I've searched and searched, but can't seem to figure out how/where to change the font weight and color of the price that's shown in Featured Products. I'm using it on my home page: https://www.pennylanepapersgiftbags.com and want to match it to the category pages.

Can anyone point me in the right direction? Much appreciated!!

30 Aug 2009, 4:06 AM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: Featured Products - change price color and font

You are only missing a brace { in the rule you have:```
/price in featured products/

#featuredProducts {

font-weight: bold;
color: #cc0066;

}
If you want to control the text color as well as the price, you can use this:
.centerBoxContentsFeatured, .centerBoxContentsFeatured a {
font-weight: bold;
color: #cc3366;
}

30 Aug 2009, 4:34 AM
#3
pennylane avatar

pennylane

New Zenner

Join Date:
Aug 2009
Posts:
31
Plugin Contributions:
0

Re: Featured Products - change price color and font

Thanks so much - was driving me crazy!

I was able to change the color (to pink) and font weight (to bold) of the price, but the weight of the product name also changed to bold. Do you know what code I would use so that the product name is normal weight while the price is bold?

30 Aug 2009, 4:57 AM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Featured Products - change price color and font

The #featuredProducts {} rule controls all of the text, and this will let you control just the name, which is a link:```
.centerBoxContentsFeatured a {
font-weight: normal;
}

31 Aug 2009, 1:13 AM
#5
pennylane avatar

pennylane

New Zenner

Join Date:
Aug 2009
Posts:
31
Plugin Contributions:
0

Re: Featured Products - change price color and font

Great thanks so much!!

24 Mar 2010, 6:53 PM
#6
greenxtreme avatar

greenxtreme

New Zenner

Join Date:
Mar 2010
Posts:
1
Plugin Contributions:
0

Re: Featured Products - change price color and font

Hi I am really dyslexic and I have been trying my best to figure this out and "can't" how to change the font color of the normal price for all the products in the "New Products Side Box" ? None of the post you guys have listed has helped. I want to change the normal price color of my the new products listed in the New Products listing box. Now I was given this tag to change the specials so that the normal price would show black and with a strike through and the sales price shows in a new color I requested and that worked. "BUT" The font of the normal sale prices on the items that are not on sale do not change. I only want to change the font color of the items in the New Products Side box. Not in the center box. I am just about to delete the whole zen cart and start all over ! This didnt work .productListing-data {
color: #000000;
}

This worked but only on the sales items

.normalprice, .productSpecialPriceSale {
text-decoration: line-through;
color: #000000;
}

Help I am going bald fast.

24 Mar 2010, 7:45 PM
#7
gjh42 avatar

gjh42

Black Belt

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

Re: Featured Products - change price color and font

If you want to affect only the sidebox, put its id in front of the other classname(s) in your stylesheet rule. We can be more specific if we can see your site live.