Forums / Basic Configuration / Header banner is not working fine

Header banner is not working fine

Locked

Views: 3,599

Results 1 to 20 of 25
This thread is locked. New replies are disabled.
24 Feb 2010, 6:49 AM
#1
charity04 avatar

charity04

New Zenner

Join Date:
Feb 2010
Posts:
40
Plugin Contributions:
0

Header banner is not working fine

I have just installed zen cart yesterday and now i have changed the template i have downloaded. But the problem is this header banner i haver uploaded it doesn't fit to the it's size it's like a broken image. I've been spending more than 4 hours now trying to read all threads tutorials but still couldn't help me out.

http://ocfashionlover.com/store/

the broken image of the banner looks so awful.:(

I also tried to modify in the stylesheet.ccs which i get from mysite/store/includes/templates/new template/ccs

but i couldn't find the code that o saw in tutorials like this:
#logoWrapper {
width:760px;
height:110px;
background-image:url(../images/your_header_image.???);
background-repeat:no-repeat;
}

Im really so frustrated now. Im not so into with programming stuffs so bear with me..:unsure:

Any suggestions will be greatly appreciated :smile:

24 Feb 2010, 7:50 AM
#2
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Header banner is not working fine

Charity, after looking at this image several different ways, it stays the same (looking corrupted)......so.......just for kicks could you please RE-upload "header.jpg" to "includes/templates/jewelry_store/images/" for me, please? Even before you do that, check your image in an image editor, first? Sometimes they just get corrupted being moved from one location to another.

Also, your "logo1.gif" is being called from your default template. Did you forget to change your "includes/languages/English/jewelry_store/header.php" file?

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!

24 Feb 2010, 8:48 AM
#3
charity04 avatar

charity04

New Zenner

Join Date:
Feb 2010
Posts:
40
Plugin Contributions:
0

Re: Header banner is not working fine

Hi, thank you for replying, however, i have re-uploaded the header.jpg twice already. I used ftp client and yes i have i uploaded it with includes/templates/jewelry_store/images but still no good. I opened it with image editor and it's not corrupted as well. Even the logo.gif i have uploaded also but it seems not showing in my website :( I'm trying to re-uploading again like what you said. Do you have any other suggestion? thanks again!

24 Feb 2010, 9:33 AM
#4
charity04 avatar

charity04

New Zenner

Join Date:
Feb 2010
Posts:
40
Plugin Contributions:
0

Re: Header banner is not working fine

Thanks for bringing some points! I can see the logo now. I forgot to change it from header.php file! however. the header banner is really the only thing that makes me really frustrated:flex:

Please Help!

24 Feb 2010, 11:53 AM
#5
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Header banner is not working fine

charity04:

Thanks for bringing some points! I can see the logo now. I forgot to change it from header.php file! however. the header banner is really the only thing that makes me really frustrated:flex:

Please Help!
Well, whatever you done, you've got both images showing, now, so that's an improvement on that part. But it looks like your styling got a little messed, but nothing that can't be fixed. We'll get it worked out this evening, if you don't get it before then, but I'll probably sleep 'till about noon.

G'night.........ahh... morning:sleep1:

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!

24 Feb 2010, 1:42 PM
#6
charity04 avatar

charity04

New Zenner

Join Date:
Feb 2010
Posts:
40
Plugin Contributions:
0

Re: Header banner is not working fine

Get Em Fast:

Well, whatever you done, you've got both images showing, now, so that's an improvement on that part. But it looks like your styling got a little messed, but nothing that can't be fixed. We'll get it worked out this evening, if you don't get it before then, but I'll probably sleep 'till about noon.

G'night.........ahh... morning:sleep1:

Thanks for such advice! :clap: yes it's true my styling is really messy. I have changed the body width to !00% now so that the template im using will fit any browser. However, the right box seems awful because it isn't aligned with the header. Any advice for me?

Thanks so much in advance:clap:

http://www.ocfashionlover.com/store

24 Feb 2010, 6:18 PM
#7
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: Header banner is not working fine

charity04:

However, the right box seems awful because it isn't aligned with the header.

????not aligned horizontally or vertically? Looks good to me. It's directly in line (horizontally) with Categories Box. That not where you want it?

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!

25 Feb 2010, 12:01 AM
#8
charity04 avatar

charity04

New Zenner

Join Date:
Feb 2010
Posts:
40
Plugin Contributions:
0

Re: Header banner is not working fine

Get Em Fast:

????not aligned horizontally or vertically? Looks good to me. It's directly in line (horizontally) with Categories Box. That not where you want it?

I have changed it back the #mainwrapper to 980px because the right sidebox isn't aligned with the header banner like errr..vertically. I have another problem though, Is there any way to change the background image in my website like a very tiny snowflakes background image? I'd like to change it instead of just plain white.:clap: & there's this unknown box at the upper side of the left sidebox which is my information page. How can i delete it?
Im seeing it when im using safari browser. But im not seeing it when using firefox.

Many thanks for my questionsss.

12 May 2010, 2:09 PM
#9
jim_ellison avatar

jim_ellison

New Zenner

Join Date:
May 2010
Posts:
1
Plugin Contributions:
0

Re: Header banner is not working fine

Hi all, I, too, am having a nasty time w/ a header that shows twice -- once as a broken image and then as a series of 4 or 5 maching across the width of the page. See http://redneckbaitcompany.com/store/ for what I mean.

Why? I believe I have the header.php files straight -- obviously NOT! Can anyone help?

And then, I know I've got the "broken" image in http://redneckbaitcompany.com/zencart/includes/templates/freetemplate3/common/rnbclogo.jpg

Help most appreciated, Jim in Roanoke

12 May 2010, 2:34 PM
#10
charity04 avatar

charity04

New Zenner

Join Date:
Feb 2010
Posts:
40
Plugin Contributions:
0

Re: Header banner is not working fine

About the logo, have you tried editing the header.php (yoursite/zencart/includes/languages/english/your_template)
and replace logo.gif with your own image name?
Just make sure you upload it to the /images folder before editing this file!:smile:

12 May 2010, 3:31 PM
#11
steve45 avatar

steve45

New Zenner

Join Date:
May 2010
Posts:
21
Plugin Contributions:
0

Re: Header banner is not working fine

I am having the same trouble and have follow the steps you been talking about here. All I am getting is a red "X" and a blank box showing up there. I also notice when I left click to get more information I seen that it's show a size of the box of 2830 and the log imagine I uploaded is 46860. Here my link to take a look and offer a suggestion on how to fix. I did double check and imagine is not corrupted.

http://collectibleslimited.com/zencart/

Thanks
Steve

How to get targeted leads and massive
traffic to any website in 15 minutes
or less:==> http://scrnch.me/GoogleTraffic

12 May 2010, 3:41 PM
#12
charity04 avatar

charity04

New Zenner

Join Date:
Feb 2010
Posts:
40
Plugin Contributions:
0

Re: Header banner is not working fine

steve45:

I am having the same trouble and have follow the steps you been talking about here. All I am getting is a red "X" and a blank box showing up there. I also notice when I left click to get more information I seen that it's show a size of the box of 2830 and the log imagine I uploaded is 46860. Here my link to take a look and offer a suggestion on how to fix. I did double check and imagine is not corrupted.

http://collectibleslimited.com/zencart/

Thanks
Steve
I got the same error before. What i did the easy way is to have the logo named as logo.gif to overwrite the default logo. upload the logo into /images folder. http://collectibleslimited.com/zencart/includes/templates/template_default/images/
then it'll show there

12 May 2010, 3:51 PM
#13
charity04 avatar

charity04

New Zenner

Join Date:
Feb 2010
Posts:
40
Plugin Contributions:
0

Re: Header banner is not working fine

Or Alternatively, you can edit the header.php to edit the logo name and/or size.

If you are using your default template, this file will be located here:

yoursite/zencart/includes/languages/english/your_default_template

After opening the file in Notepad or WordPad, look for this snippet of code:

// added defines for header alt and text
define(‘HEADER_ALT_TEXT’, ‘Powered by Zen Cart :: The Art of E-Commerce [home link]‘);
define(‘HEADER_SALES_TEXT’, ‘<h1>Sales Message Goes Here</h1>’);
define(‘HEADER_LOGO_WIDTH’, ‘200px’);
define(‘HEADER_LOGO_HEIGHT’, ‘70px’);
define(‘HEADER_LOGO_IMAGE’, ‘logo.gif’);

Replace “logo.gif” with your image name. Make sure you upload it to the /images folder ( yoursite/zencart/includes/templates/template_default/images ) before editing this file! Hope this helps:smile:

12 May 2010, 11:39 PM
#14
steve45 avatar

steve45

New Zenner

Join Date:
May 2010
Posts:
21
Plugin Contributions:
0

Re: Header banner is not working fine

charity04:

I got the same error before. What i did the easy way is to have the logo named as logo.gif to overwrite the default logo. upload the logo into /images folder. http://collectibleslimited.com/zencart/includes/templates/template_default/images/
then it'll show there

Charity04
This didn't work but I will try your second suggestion now and let you known if I have any luck.

Thanks for your help!
Steve
:clap:

How to get targeted leads and massive
traffic to any website in 15 minutes
or less:==> http://scrnch.me/GoogleTraffic

12 May 2010, 11:47 PM
#15
steve45 avatar

steve45

New Zenner

Join Date:
May 2010
Posts:
21
Plugin Contributions:
0

Re: Header banner is not working fine

charity04:

Or Alternatively, you can edit the header.php to edit the logo name and/or size.

If you are using your default template, this file will be located here:

yoursite/zencart/includes/languages/english/your_default_template

After opening the file in Notepad or WordPad, look for this snippet of code:

// added defines for header alt and text
define(‘HEADER_ALT_TEXT’, ‘Powered by Zen Cart :: The Art of E-Commerce [home link]‘);
define(‘HEADER_SALES_TEXT’, ‘<h1>Sales Message Goes Here</h1>’);
define(‘HEADER_LOGO_WIDTH’, ‘200px’);
define(‘HEADER_LOGO_HEIGHT’, ‘70px’);
define(‘HEADER_LOGO_IMAGE’, ‘logo.gif’);

Replace “logo.gif” with your image name. Make sure you upload it to the /images folder ( yoursite/zencart/includes/templates/template_default/images ) before editing this file! Hope this helps:smile:

Well this didn't work either :mellow:

I need to find where the setting is that 28*30 and change that, I think then it will display.

Steve

How to get targeted leads and massive
traffic to any website in 15 minutes
or less:==> http://scrnch.me/GoogleTraffic

13 May 2010, 12:23 PM
#16
steve45 avatar

steve45

New Zenner

Join Date:
May 2010
Posts:
21
Plugin Contributions:
0

Re: Header banner is not working fine

Well I am at a lost, I just can't figure out why I can't get my header to display?

:huh:

Steve

How to get targeted leads and massive
traffic to any website in 15 minutes
or less:==> http://scrnch.me/GoogleTraffic

13 May 2010, 1:55 PM
#17
charity04 avatar

charity04

New Zenner

Join Date:
Feb 2010
Posts:
40
Plugin Contributions:
0

Re: Header banner is not working fine

steve45:

Well I am at a lost, I just can't figure out why I can't get my header to display?

:huh:

Steve

Steve;
Let's take it step by step maybe you're just overlooked something. The logo isn't showing up in your site just what i have noticed here-----> http://collectibleslimited.com/zencart it's with the broken image. You did upload your logo.png here-->yoursite/zencart/includes/templates/template_default/images

then have you replaced logo.gif with logo.png here?----->
// added defines for header alt and text
define(‘HEADER_ALT_TEXT’, ‘Powered by Zen Cart :: The Art of E-Commerce [home link]‘);
define(‘HEADER_SALES_TEXT’, ‘<h1>Sales Message Goes Here</h1>’);
define(‘HEADER_LOGO_WIDTH’, ‘200px’);
define(‘HEADER_LOGO_HEIGHT’, ‘70px’);
define(‘HEADER_LOGO_IMAGE’, ‘logo.gif’); <---------your logo name. at header.php can be found here-->yoursite/zencart/includes/languages/english/your_template_default.
You can also change the height and/width whatever you like.

This is what i did before when i got that broken image. Hope you can get it work now.:smile:

14 May 2010, 12:52 AM
#18
steve45 avatar

steve45

New Zenner

Join Date:
May 2010
Posts:
21
Plugin Contributions:
0

Re: Header banner is not working fine

charity04:

Steve;
Let's take it step by step maybe you're just overlooked something. The logo isn't showing up in your site just what i have noticed here-----> http://collectibleslimited.com/zencart it's with the broken image. You did upload your logo.png here-->yoursite/zencart/includes/templates/template_default/images

then have you replaced logo.gif with logo.png here?----->
// added defines for header alt and text
define(‘HEADER_ALT_TEXT’, ‘Powered by Zen Cart :: The Art of E-Commerce [home link]‘);
define(‘HEADER_SALES_TEXT’, ‘<h1>Sales Message Goes Here</h1>’);
define(‘HEADER_LOGO_WIDTH’, ‘200px’);
define(‘HEADER_LOGO_HEIGHT’, ‘70px’);
define(‘HEADER_LOGO_IMAGE’, ‘logo.gif’); <---------your logo name. at header.php can be found here-->yoursite/zencart/includes/languages/english/your_template_default.
You can also change the height and/width whatever you like.

This is what i did before when i got that broken image. Hope you can get it work now.:smile:

Yea, double check everything as you lay it out here and the file is there and I did reload it again to make sure it okay and still not showing. Have you right click on the "x" and see where it said size and see where it only displaying a 20*30. I think if I can find where it calling that size and can incress that number it will then allow my imagine to show.

Steve

How to get targeted leads and massive
traffic to any website in 15 minutes
or less:==> http://scrnch.me/GoogleTraffic

14 May 2010, 1:15 AM
#19
charity04 avatar

charity04

New Zenner

Join Date:
Feb 2010
Posts:
40
Plugin Contributions:
0

Re: Header banner is not working fine

steve45:

Yea, double check everything as you lay it out here and the file is there and I did reload it again to make sure it okay and still not showing. Have you right click on the "x" and see where it said size and see where it only displaying a 20*30. I think if I can find where it calling that size and can incress that number it will then allow my imagine to show.

Steve

if you want to trace some files, you may use the developers tool kit. It's very helpful go to zen cart admin-tools-developers tool kit and use keywords to look up for files..:smile:

14 May 2010, 1:53 AM
#20
steve45 avatar

steve45

New Zenner

Join Date:
May 2010
Posts:
21
Plugin Contributions:
0

Re: Header banner is not working fine

charity04:

if you want to trace some files, you may use the developers tool kit. It's very helpful go to zen cart admin-tools-developers tool kit and use keywords to look up for files..:smile:

Well thanks for trying to help me out here. Maybe Clyde will pop in and give his thought on what happening.

Steve

How to get targeted leads and massive
traffic to any website in 15 minutes
or less:==> http://scrnch.me/GoogleTraffic