Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How do I Display a different header image on different pages?

How do I Display a different header image on different pages?

Locked

Views: 2,472

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
4 Jul 2008, 3:16 PM
#1
maomaochong avatar

maomaochong

New Zenner

Join Date:
Jun 2008
Posts:
26
Plugin Contributions:
0

How do I Display a different header image on different pages?

Hi

http://www.maomaochongstore.com/shop/

i want to display different images in the header on different category pages.

for example on my guy's gear category page i want a Guy's Gear header image and on the girl's gear category page i want a girls gear header image.

i want different images to the index page header image.

ta.

4 Jul 2008, 3:42 PM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: How do I Display a different header image on different pages?

maomaochong:

Hi

http://www.maomaochongstore.com/shop/

i want to display different images in the header on different category pages.

for example on my guy's gear category page i want a Guy's Gear header image and on the girl's gear category page i want a girls gear header image.

i want different images to the index page header image.

ta.

Try this mod available in the downloads section

www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=832

4 Jul 2008, 3:44 PM
#3
gjh42 avatar

gjh42

Black Belt

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

Re: How do I Display a different header image on different pages?

Smart Backgrounds can do that.

It is also possible to make per-page stylesheets which will call a different background image for each page.

5 Jul 2008, 10:51 AM
#4
maomaochong avatar

maomaochong

New Zenner

Join Date:
Jun 2008
Posts:
26
Plugin Contributions:
0

Re: How do I Display a different header image on different pages?

thx for the advice!

i've downloaded, uploaded and changed things and i'm now getting different images on different pages.

but, the index page image is loading behind every header image.

i'm using smartbg for my logo wrapper bg. not my header wrapper.

can i have some help please?

http://www.maomaochongstore.com/shop/

ta.

5 Jul 2008, 2:26 PM
#5
gjh42 avatar

gjh42

Black Belt

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

Re: How do I Display a different header image on different pages?

The index page image is loading behind the logo image on the home page too (you can see a bit of an extra "MAO" at the bottom.) This is because, although you have put all the correct CSS declarations in your main stylesheet, you also have stylesheet_smartbg.css which contains an example for the headerWrapper background. You don't need anything that is in that file, so you can just delete it and the extra bg will disappear.

6 Jul 2008, 5:29 AM
#6
maomaochong avatar

maomaochong

New Zenner

Join Date:
Jun 2008
Posts:
26
Plugin Contributions:
0

Re: How do I Display a different header image on different pages?

cheers!