Forums / Templates, Stylesheets, Page Layout / editing colour of various text in categories box

editing colour of various text in categories box

Locked

Views: 1,868

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
10 Jun 2009, 10:11 AM
#1
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

editing colour of various text in categories box

Hi, I've worked out how to make most of the text in my category listing box on the left white but at the bottom of it 'new products' and 'all products' is still dark blue. So are all the numbers to the right of the category titles in this box. How can I make all of these things white please?

Many thanks

10 Jun 2009, 1:00 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: editing colour of various text in categories box

Can't see your site?
Post a link to it

Zen-Venom Get Bitten

10 Jun 2009, 2:35 PM
#3
gjh42 avatar

gjh42

Black Belt

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

Re: editing colour of various text in categories box

The numbers will use the basic sidebox text color, so add to your stylesheet

#categoriesContent {color: #ffffff;}

The new & all colors are controllable with

a.category-links {color: #ffffff;}

10 Jun 2009, 3:47 PM
#4
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

Re: editing colour of various text in categories box

sorry kobra, my site is; http://www.thegreatgiftshop.co.uk/zencart/

gjh42, when I add in

#categoriesContent {color: #ffffff;}

a.category-links {color: #ffffff;}

to the stylesheet, this makes no difference to the colour of the categories numbers. I've literally just put these into the stylesheet as above, with a space between the two just right at the end of the stylesheet. Am I missing something obivous?

Thanks,

Sushigirl :wacko:

10 Jun 2009, 3:52 PM
#5
stevesh avatar

stevesh

Black Belt

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

Re: editing colour of various text in categories box

I'd turn the counts off - your Categories box will look a lot less cluttered.

10 Jun 2009, 3:59 PM
#6
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

Re: editing colour of various text in categories box

That's what I suggested to the person I'm building the site for, but they want them on :no:

10 Jun 2009, 4:03 PM
#7
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: editing colour of various text in categories box

Sushigal:

That's what I suggested to the person I'm building the site for, but they want them on :no:

Tell them that this can also slow down the site... the more products, the slower the site.

20 years a Zencart User

10 Jun 2009, 4:04 PM
#8
gjh42 avatar

gjh42

Black Belt

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

Re: editing colour of various text in categories box

That's why Kobra asked for your site - you didn't mention that you had installed a mod for Category List Box, so the standard #categoriesContent doesn't apply. You need

#categorylistboxContent {color: #ffffff;}

But I agree with stevesh - it would look better with the counts turned off (Configuration > My Store > show category counts.)

10 Jun 2009, 5:23 PM
#9
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

Re: editing colour of various text in categories box

Ah ok. Well thanks so much. I will in future always make sure I include a link when I have question about my site. I agree with both of you, it looks better without. I'll tell the client it will slow the site down then and hopefully that'll persuade them not to bother with it anyway.

Incase they do want to go along with me, its an admin thing if I want to hide the category count isnt it?? Even with the mod I've used?

10 Jun 2009, 5:40 PM
#10
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: editing colour of various text in categories box

Just switch them of in admin CATEGORY COUNTS. I think it is in configuration>>>layout settings...

20 years a Zencart User

11 Jun 2009, 9:08 AM
#11
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

Re: editing colour of various text in categories box

It doesn't seem to be working, I'm using a categorylisting box app that was downloaded and installed as I wanted the sub categories to be shown at all times.

When I go to admin>config>layout I can't find the setting to turn off the category count anyway but I've got a feeling it wont work anyway as when I changed the 'Categories with 0 Products Status' to 0 to turn it off, you can see that the categories on my site with 0 products are still showing the category count 0.

So does anyone know how to turn the category count off if I'm using a category listing box mod? My site is:

http://www.thegreatgiftsshop.co.uk/zencart

:cry:

11 Jun 2009, 9:25 AM
#12
stevesh avatar

stevesh

Black Belt

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

Re: editing colour of various text in categories box

Admin - Configuration - My Store - Show Category Counts

11 Jun 2009, 9:27 AM
#13
sushigal avatar

sushigal

Zen Follower

Join Date:
Mar 2009
Posts:
435
Plugin Contributions:
0

Re: editing colour of various text in categories box

Thank you, I was just about to come and say I'd found it in that very place and yes it did work even though I'm using a mod for my categories box.

Thanks for your help guys.