Forums / Templates, Stylesheets, Page Layout / How do i modify the size of the text in the list of products in a category listing?

How do i modify the size of the text in the list of products in a category listing?

Locked

Started by humbll on 12 Jul 2007, 10:39 AM · Views: 2,500

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
12 Jul 2007, 10:39 AM
#1
humbll avatar

humbll

Zen Follower

Join Date:
Jan 2007
Location:
USA
Posts:
219
Plugin Contributions:
0

How do i modify the size of the text in the list of products in a category listing?

When you click on a category which contains no subcategories, a list of the products in that category is displayed. I want to modify the font size of the title of those products, what do i reference in the stylesheet to make the change? Thanks in advance, and have a blessed day.

Grasshopper, **GOT BOOK?** - I don't, and I am constantly in here begging for help and **Donating to Zen Cart** in feeble attempts to bribe the developers for help. **Get your copy today**** and avoid my fate!**

12 Jul 2007, 1:12 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: How do i modify the size of the text in the list of products in a category listing?

Those are contained within h3 tags whose size is set on line 96 of your stylesheet. Though this would apply equally to products in sub-categories. Were you wanting to treat them differently?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

13 Jul 2007, 12:18 AM
#3
humbll avatar

humbll

Zen Follower

Join Date:
Jan 2007
Location:
USA
Posts:
219
Plugin Contributions:
0

Re: How do i modify the size of the text in the list of products in a category listing?

no, i wanted to change thm all...

Grasshopper, **GOT BOOK?** - I don't, and I am constantly in here begging for help and **Donating to Zen Cart** in feeble attempts to bribe the developers for help. **Get your copy today**** and avoid my fate!**

13 Jul 2007, 10:41 AM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: How do i modify the size of the text in the list of products in a category listing?

If I'm understanding correctly then the titles whose size you want to change, then adding the following (with your own value of course) will hit them> h3.itemTitle a {font-size:1.5em}

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

14 Jul 2007, 4:14 AM
#5
humbll avatar

humbll

Zen Follower

Join Date:
Jan 2007
Location:
USA
Posts:
219
Plugin Contributions:
0

Re: How do i modify the size of the text in the list of products in a category listing?

no, it did not work.

I tried (in /includes/templates/CUSTOM/css/stylesheet.css):

h3.itemTitle a {font-size:1.1em}
and

.itemTitle a {font-size:1.1em}

neither had any effect whatsoever...

thanks for answering..

Grasshopper, **GOT BOOK?** - I don't, and I am constantly in here begging for help and **Donating to Zen Cart** in feeble attempts to bribe the developers for help. **Get your copy today**** and avoid my fate!**

14 Jul 2007, 7:24 AM
#6
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: How do i modify the size of the text in the list of products in a category listing?

Are we talking about the site in your signature?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

14 Jul 2007, 9:34 PM
#7
humbll avatar

humbll

Zen Follower

Join Date:
Jan 2007
Location:
USA
Posts:
219
Plugin Contributions:
0

Re: How do i modify the size of the text in the list of products in a category listing?

no, it is a site I am developing offline. I did just what you suggested and added the lines to my stylesheet, which is just a copy of the stylesheet in /template_default/css/ but it had no effect. The text is HUGE and i want to kind of normalize it, it is way out of proportion to the size of the rest of the text on the site.. Thanks again for helping..

Grasshopper, **GOT BOOK?** - I don't, and I am constantly in here begging for help and **Donating to Zen Cart** in feeble attempts to bribe the developers for help. **Get your copy today**** and avoid my fate!**

14 Jul 2007, 9:46 PM
#8
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: How do i modify the size of the text in the list of products in a category listing?

The answer to your question will depend on the HTML that your site is generating. The CSS that I recommended would have worked on default Zen Cart and your current site, but if that of the new site is different, then that would explain why the CSS won't work.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)