Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Can you change the layout colors based on category??

Can you change the layout colors based on category??

Locked

Views: 1,086

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
15 May 2009, 6:31 PM
#1
yzerman19 avatar

yzerman19

New Zenner

Join Date:
May 2009
Posts:
10
Plugin Contributions:
0

Can you change the layout colors based on category??

Hi all,

I was wondering if it's possible when you are click in different categories to change the color theme?

For example I have a category for blue and red products. When I click blue I want to change the "theme" to blue, and same with red. To take it a step further, can you swap the header image as someone changes categories?

15 May 2009, 6:48 PM
#3
yzerman19 avatar

yzerman19

New Zenner

Join Date:
May 2009
Posts:
10
Plugin Contributions:
0

Re: Can you change the layout colors based on category??

Thank you :)

15 May 2009, 6:53 PM
#4
misty avatar

misty

Inactive

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

Re: Can you change the layout colors based on category??

No problem...hope it helps achieve requirements..

:smile:

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

16 May 2009, 3:11 PM
#5
mrchristoh avatar

mrchristoh

New Zenner

Join Date:
May 2009
Location:
from parts unknown
Posts:
74
Plugin Contributions:
0

Re: Can you change the layout colors based on category??

Just reading as this will be needed by myself very soon and many others i am sure.

Can this be added as a tutorial / addon / module / ?

I only ask as its quite a nice tweek and would be used by the masses.

:bigups: to eccentric
:bigups: to misty

you both have helped more than you realize

16 May 2009, 4:17 PM
#6
misty avatar

misty

Inactive

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

Re: Can you change the layout colors based on category??

Mrchristoh:

Just reading as this will be needed by myself very soon and many others i am sure.

Can this be added as a tutorial / addon / module / ?

I only ask as its quite a nice tweek and would be used by the masses.

you both have helped more than you realize
Link given in my earlier post explains exactly how to achieve..
too simple to create mod..you have a category number 2.
create stylesheet for that category, using different colours, images, text etc...
name this stylesheet c_2.css.. upload
to current template's stylesheet folder...category number 3..
exactly same as above but name stylesheet c_3.css, upload as before..
done..
:smile:

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others

16 May 2009, 5:12 PM
#7
gjh42 avatar

gjh42

Black Belt

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

Re: Can you change the layout colors based on category??

A note re Misty's first suggestion: The category stylesheet method is described in post 10 of the referenced thread, not post 4.

17 May 2009, 3:15 PM
#8
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Can you change the layout colors based on category??

And it is also fully explained in the file CSS_read_me.txt in the css folder. But then, nobody ever reads readmes. :P

Rob

Breakfast: the most important donut of the day.