Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Changing background colour for different categories

Changing background colour for different categories

Locked

Views: 1,149

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
25 May 2008, 9:30 PM
#1
hackshawdave avatar

hackshawdave

New Zenner

Join Date:
May 2008
Posts:
1
Plugin Contributions:
0

Changing background colour for different categories

Hi Guys,

I have a category box with 10 different main categories and each main category has 5 subcategories.

I would like to have each main category with a different background colour and the subcategories to appear underneath the main category in bullet points once someone clicks on it. The subcategories can appear the same colour as each other.

I sincerely look forward to any help you guys can give me.

Thanks!

5 Jun 2008, 2:12 PM
#2
timbaloo avatar

timbaloo

New Zenner

Join Date:
Aug 2006
Posts:
18
Plugin Contributions:
0

Re: Changing background colour for different categories

Howdy,

need to use css to do this.
have a look in the text file that is in the css folder, but basicly, you have to create different css files for each of your categories and subcategories, something like c_4.css if your category id is 4...

++

5 Jun 2008, 3:07 PM
#3
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Changing background colour for different categories

hackshawdave:

Hi Guys,

I have a category box with 10 different main categories and each main category has 5 subcategories.

I would like to have each main category with a different background colour and the subcategories to appear underneath the main category in bullet points once someone clicks on it. The subcategories can appear the same colour as each other.

I sincerely look forward to any help you guys can give me.

Thanks!
For sidebox then Category Dressing sidebox mod will do what you require
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=609
Creating different stylesheets i.e. c_4.css affects
whole template look, not just sideboxes.
:smile: