Forums / General Questions / help! header is missing

help! header is missing

Locked

Started by fairview on 10 Apr 2007, 4:21 PM · Views: 929

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
10 Apr 2007, 4:21 PM
#1
fairview avatar

fairview

New Zenner

Join Date:
Dec 2006
Posts:
42
Plugin Contributions:
0

help! header is missing

I don't know where to put this, but I was attempting to modify the template and thought I was going to delete the logo, but when I did that i lost the header so I just decided to let the logo show up, but the header isn't coming up at all now! Can someone help me? Let me know what to put up and I'll gladly post it. my page is www.heavenlycreationsoklahoma.com

10 Apr 2007, 4:30 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: help! header is missing

If you had something like this in your stylesheet (includes/templates/YOUR_TEMPLATE/css/stylesheet.css) and removed it, you removed the background image for your header:

#logoWrapper{
	background-image: url(../images/header_bg.jpg);
	background-repeat: repeat-x;
	background-color: #ffffff;
	height:75px;
	}

To remove the ZC logo or change it to your own, it's in includes/languages/english/YOUR_TEMPLATE/header.php

// added defines for header alt and text
  define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
  define('HEADER_SALES_TEXT', 'TagLine Here');
  define('HEADER_LOGO_WIDTH', '192px');
  define('HEADER_LOGO_HEIGHT', '64px');
  define('HEADER_LOGO_IMAGE', 'logo.gif');

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

10 Apr 2007, 11:34 PM
#3
fairview avatar

fairview

New Zenner

Join Date:
Dec 2006
Posts:
42
Plugin Contributions:
0

Re: help! header is missing

Okay, I had not removed the #logowrapper from the stylesheet. So any more guesses. I had attempted to follow these instructions to remove the logo https://www.zen-cart.com/tutorials/index.php?article=126 which worked for removing the logo, but that's when the header background image disappeared and when I simply tried to reverse the logo removal instructions the logo did come back, but the header image did not. I know that it was that exact time because I was refreshing the browser after everything thing that I uploaded so that I would know if something happened that I didn't like.

Oh also, do I have to have a logo in place to use the header image or can I just incorporate my logo into the header image and then of course not use a logo image file??

10 Apr 2007, 11:40 PM
#4
fairview avatar

fairview

New Zenner

Join Date:
Dec 2006
Posts:
42
Plugin Contributions:
0

Re: help! header is missing

It appears that the problem is just with this particular template, so I think that I'm going to try to re-upload the template and then make changes from there to customize it and hope this fixes the problem. Unless someone else has a suggestion....

11 Apr 2007, 4:06 AM
#5
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: help! header is missing

You can merge the logo with the background. In that case, you have two choices. Treat it as a logo or treat it as the background. Personally, I'd treat it as the logo.

In your stylesheet you need the #logoWrapper to give a background color like this:

#logoWrapper{
	background-color: #ffffff;
	height:75px;
	}

Adjust the size and the color as necessary.

In includes/languages/english/YOUR_TEMPLATE/header.php, you define the size and name of the logo.

// added defines for header alt and text
  define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce');
  define('HEADER_SALES_TEXT', 'TagLine Here');
  define('HEADER_LOGO_WIDTH', '192px');
  define('HEADER_LOGO_HEIGHT', '64px');
  define('HEADER_LOGO_IMAGE', 'logo.gif');

I suppose you could always make the logo.gif image transparent, so it wouldn't actually show.

Make certain the logo and/or the background image is in includes/templates/YOUR_TEMPLATE/images/.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey