Zen Cart Logo
Forums / General Questions / Remove logo header from index page only

Remove logo header from index page only

Locked

Views: 1,678

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

acreativepage

Zen Follower

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

Remove logo header from index page only

How do I go about removing the header with the logo from just the index page?

Thanks in advance.

8 Jun 2009, 9:53 PM
#2
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Remove logo header from index page only

You can have a separate css file for each page that is used in addition to the main stylesheet.

In this stylesheet you can add a style for the div #headerWrapper something like:

#headerWrapper {display:none;}

The naming of the new stylesheet is very important. There are instructions in the CSS_read_me.txt file that is in includes / templates / template_default / css/

Hope that helps

Nik

8 Jun 2009, 10:08 PM
#3
acreativepage avatar

acreativepage

Zen Follower

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

Re: Remove logo header from index page only

Thank you Nik however, I added a css page into the correct template folder and named it index.css but it still didn't work. Any suggestions?

18 Jun 2009, 5:48 PM
#4
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Remove logo header from index page only

I am so sorry. This thread seems to have slipped through the net!

Are you still having difficulties? If so just post to let me know and I'll have a look at it soonist!

Nick

18 Jun 2009, 7:25 PM
#5
niccol avatar

niccol

Totally Zenned

Join Date:
Apr 2009
Posts:
2,138
Plugin Contributions:
1

Re: Remove logo header from index page only

Stacee

I see what you mean. I have trouble getting a ccs file to effect only the home page. Any other page, no problem.

I guess one way to approach it is to take the header out in stylesheet.css and then put it back in for every other page. Laborious way of doing it, though.

Does anyone else have ideas?

Nick

30 Jun 2009, 1:02 PM
#6
speeke avatar

speeke

Zen Follower

Join Date:
Jul 2004
Posts:
65
Plugin Contributions:
0

Re: Remove logo header from index page only

I am having the same problem.

Does anyone know how I might style a background image for the home page only?

I've tried a stylesheet called: index.css, but to no effect.

Thanks.

1 Jul 2009, 1:02 AM
#7
speeke avatar

speeke

Zen Follower

Join Date:
Jul 2004
Posts:
65
Plugin Contributions:
0

Re: Remove logo header from index page only

Answer found.

Just use the ID #indexHomeBody to style the home page differently.

Hope this helps others. :smile:

15 Aug 2009, 7:08 PM
#8
totalsam avatar

totalsam

Zen Follower

Join Date:
Jan 2009
Posts:
126
Plugin Contributions:
0

Re: Remove logo header from index page only

How about to remove the header/footer from other pages?