Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Change header image for one category?

Change header image for one category?

Locked

Views: 2,095

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
11 Aug 2009, 8:00 PM
#1
kismetdesign avatar

kismetdesign

Zen Follower

Join Date:
May 2009
Location:
Junction City, Oregon
Posts:
315
Plugin Contributions:
0

Change header image for one category?

In our 'women's category, I'd like to change the header image to reflect more feminine colors. Can I change the header image for just this one category? Would it require a new template? :huh:

KismetDesign

11 Aug 2009, 8:18 PM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: Change header image for one category?

Smart Backgrounds (in Free Addons) is designed for this sort of task. You can use it out of the box to switch background images etc anywhere in your site, or adjust it to handle foreground images in a particular location.

Alternatively, you can use a separate stylesheet for that category, named like c_23.css for category cPath 23, and include the different header background image in it.

Smart BG is easiest where you have numerous backgrounds to switch, and the stylesheet is easiest where you have only one page to switch for. Some things like individual ez-pages can be handled by Smart BG but not by stylesheets without a code modification.

11 Aug 2009, 11:49 PM
#3
kismetdesign avatar

kismetdesign

Zen Follower

Join Date:
May 2009
Location:
Junction City, Oregon
Posts:
315
Plugin Contributions:
0

Re: Change header image for one category?

I will check it out. Thank you! :smile:

14 Aug 2009, 12:31 AM
#4
kismetdesign avatar

kismetdesign

Zen Follower

Join Date:
May 2009
Location:
Junction City, Oregon
Posts:
315
Plugin Contributions:
0

Re: Change header image for one category?

I got it to work just great. Thanks! :cool:

5 Nov 2009, 6:32 PM
#5
drew_manzella avatar

drew_manzella

New Zenner

Join Date:
Nov 2009
Posts:
1
Plugin Contributions:
0

Re: Change header image for one category?

I have a similar need and wanted to check to see which method is better for what I need to do.

I'm setting up a storefront for a distributor who handles multiple brands. Each brand will need it's own category and then get it's own associated header image, etc.

There are potentially 4 different categories that will need their own brand-specific treatments. What is the best way to handle this?

10 Nov 2009, 5:24 AM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: Change header image for one category?

Either method will work fine; this is a matter of personal preference in this case.