Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Change header with logo on all pages except Index page

Change header with logo on all pages except Index page

Locked

Views: 3,453

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
9 Jun 2009, 1:09 AM
#1
acreativepage avatar

acreativepage

Zen Follower

Join Date:
Sep 2004
Posts:
146
Plugin Contributions:
0

Change header with logo on all pages except Index page

Hi there.
I am trying to change the header with the logo on it on all pages except the index page. Or another option is to remove the header with the logo on just the main page and have the rest of the pages keep the same header with logo.

Anybody know how to do this? I have tried so many different things and suggestions and nothign is working.

9 Jun 2009, 3:06 AM
#3
acreativepage avatar

acreativepage

Zen Follower

Join Date:
Sep 2004
Posts:
146
Plugin Contributions:
0

Re: Change header with logo on all pages except Index page

That didn't exactly seem to work for me. It still changed the header on all pages. if I can just change the header/logo on only the main page, that would be great! Anybody?

9 Jun 2009, 3:09 AM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,777
Plugin Contributions:
11

Re: Change header with logo on all pages except Index page

You could use a separate stylesheet for the main page. I would only need to have the area(s) you want to "massage" for that page.

9 Jun 2009, 3:41 AM
#5
acreativepage avatar

acreativepage

Zen Follower

Join Date:
Sep 2004
Posts:
146
Plugin Contributions:
0

Re: Change header with logo on all pages except Index page

Do you know what I would I title it and what code I would add for the seperate header/logo?

9 Jun 2009, 4:22 AM
#6
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,777
Plugin Contributions:
11

Re: Change header with logo on all pages except Index page

includes/templates/classic/css/css_read_me.txt has the details.

9 Jun 2009, 9:27 PM
#7
acreativepage avatar

acreativepage

Zen Follower

Join Date:
Sep 2004
Posts:
146
Plugin Contributions:
0

Re: Change header with logo on all pages except Index page

I tried creating a seperate stylesheet for just the main page but it is not working. perhaps I am titling it wrong? main_page.css?? I just want to change the header on the main page and keep the other pages as they are.

9 Jun 2009, 9:30 PM
#8
acreativepage avatar

acreativepage

Zen Follower

Join Date:
Sep 2004
Posts:
146
Plugin Contributions:
0

Re: Change header with logo on all pages except Index page

How do I change the header on the main page only? I just want to change the header on the main page and keep the other pages as they are. If the answer is by creating a separate stylesheet for the main page, what woud I title it? main_page.css?? I have tried everything to accomplish this and nothing is working!!

Thanks in advance.

9 Jun 2009, 11:05 PM
#9
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,777
Plugin Contributions:
11

Re: Change header with logo on all pages except Index page

Using atozrentalservice as an example, you would change the logo image and any other necessary items in the headerWrapper and have only those calls in the main_page.css.

10 Jun 2009, 2:08 AM
#10
gjh42 avatar

gjh42

Black Belt

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

Re: Change header with logo on all pages except Index page

index_home.css will give individual control for the home page.

23 Feb 2010, 4:51 AM
#11
hrinfo avatar

hrinfo

New Zenner

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

Re: Change header with logo on all pages except Index page

Hi, This work perfectly.

I have though one more question. I am using the Apple Zen template that has a drop down menu. Is there a way to make sure that the drop down menu does not show up too?

The problem seams to be that it uses a separate css file and there is a call to it in the tpl_main_page.php file. So is there a switch like the one you provided here to disable it?

Tassos

23 Feb 2010, 5:24 AM
#12
gjh42 avatar

gjh42

Black Belt

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

Re: Change header with logo on all pages except Index page

Find the id of the drop down menu wrapper, and in your index_home.php, add a rule for that id as display: none;

23 Feb 2010, 7:40 AM
#13
hrinfo avatar

hrinfo

New Zenner

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

Re: Change header with logo on all pages except Index page

Perfect thank you :-)