Forums / Templates, Stylesheets, Page Layout / Specials Font size in category and product listing

Specials Font size in category and product listing

Started by bocahydro on 22 Mar 2014, 1:30 AM · Views: 1,420

Results 1 to 8 of 8
22 Mar 2014, 1:30 AM
#1
bocahydro avatar

bocahydro

Zen Follower

Join Date:
Aug 2013
Posts:
123
Plugin Contributions:
0

Specials Font size in category and product listing

Hey zen pals.

Quick question, I found the font size in my CSS for specials, and im wondering if its possible to have it in two places, the category listings and the product listing is the same, and I want it to be different. Let me show you

First pic is with font at 14 ( I want 14 for product listing , but NOT category listing , that's too big ! )
Second pic is product listing, 14 is great !
Third is 12 the way I want category, am I asking too much?

22 Mar 2014, 1:54 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Specials Font size in category and product listing

bocahydro:

Hey zen pals.

Quick question, I found the font size in my CSS for specials, and im wondering if its possible to have it in two places, the category listings and the product listing is the same, and I want it to be different. Let me show you

First pic is with font at 14 ( I want 14 for product listing , but NOT category listing , that's too big ! )
Second pic is product listing, 14 is great !
Third is 12 the way I want category, am I asking too much?

Basically need to modify the css "assignment" for one of them, and then have the "definition" (rule) for both and you can have the two/three/four,etc versions desired. Can search for file(s) using developers toolkit in admin panel if not sure which file(s) to modify. Search criteria would be the applicable css information such as class, id, etc...

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

22 Mar 2014, 2:26 AM
#3
bocahydro avatar

bocahydro

Zen Follower

Join Date:
Aug 2013
Posts:
123
Plugin Contributions:
0

Re: Specials Font size in category and product listing

if its possible were on the right track, I appreciate the reply.

This forum has a lot of jedi masters lurking , just need the right one to hit it and post !

22 Mar 2014, 3:26 AM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Specials Font size in category and product listing

Of course it's possible, just a matter of capability and desire to do "on own" :)

I would think that enough has been provided/identified to do the above. Hopefully with the help already provided you can figure it out. If you do, please post your solution to help others that may be lurking as well. :)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

22 Mar 2014, 1:30 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Specials Font size in category and product listing

And if you still can't get it done, provide a link to your site. It's much easier for those of us trying to help.

22 Mar 2014, 11:06 PM
#6
bocahydro avatar

bocahydro

Zen Follower

Join Date:
Aug 2013
Posts:
123
Plugin Contributions:
0

Re: Specials Font size in category and product listing

https://www.bocahydro.com :smile:

and its unlikely I can do it on my own, ill give it my best with tips tho !

22 Mar 2014, 11:28 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Specials Font size in category and product listing

Terminology is important wirth stuff like this. Your images 1 and 3 are the product listing. Image 2 is the product info page. If I understand, you want the price on the product info page larger, but not the product listing. Try adding this to stylesheet.css:

.productListing-data .productSpecialPrice, .productListing-data .productPriceDiscount {font-size: .8em;}

11 Apr 2014, 11:58 PM
#8
bocahydro avatar

bocahydro

Zen Follower

Join Date:
Aug 2013
Posts:
123
Plugin Contributions:
0

Re: Specials Font size in category and product listing

sorry took so long

but

I put in what you posted and the green writing on product listing was super small

.productSpecialPrice, .productSalePrice, .productSpecialPriceSale, .productPriceDiscount, .central-boxes-price {
color: #669900;
font: bold 15px Arial;
}

.productListing-data .productSpecialPrice, .productListing-data .productPriceDiscount {font: bold 12px Arial;}

this worked

thank you very much! ( just needed a bit of help )

and remember, for you pros on this site

most people here are small business owners, and most are first time zenners, go easy on us !