Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / header_bg cuts off short

header_bg cuts off short

Locked

Views: 1,005

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
15 Nov 2007, 1:03 PM
#1
acerule avatar

acerule

New Zenner

Join Date:
Nov 2007
Posts:
2
Plugin Contributions:
0

header_bg cuts off short

Hi,

I have a problem with header_bg.jpg image

When uploaded to site bottom half gets cut off.

I've changed to height in css to 110px (image height size) and had a poke around in other files but can't seem to find whats causing the problem.

As i'm pretty new to php I have a little trouble reading it,
but the answer should be straight forward i would assume.
I would hope anyway. :smile:

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

Please help

15 Nov 2007, 6:46 PM
#2
sirbuck avatar

sirbuck

Zen Follower

Join Date:
Jan 2007
Location:
Carlsbad, CA
Posts:
161
Plugin Contributions:
0

Re: header_bg cuts off short

Take another look at the CSS. I believe there is another height setting and possibly a top margin setting to modify.

Let me know if that works. and Ill take a look

15 Nov 2007, 7:17 PM
#3
gjh42 avatar

gjh42

Black Belt

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

Re: header_bg cuts off short

You need to set the logo dims 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');

15 Nov 2007, 9:11 PM
#4
acerule avatar

acerule

New Zenner

Join Date:
Nov 2007
Posts:
2
Plugin Contributions:
0

Re: header_bg cuts off short

Hi Thanks for your replys,

I've had a good look at CSS, but with no luck.
I will take another look today with a fresh head as it was getting late last night.

I also checked and played with
/includes/languages/english/your_template/header.php:

Correct me if I'm wrong, I think it maybe logo settings, not the background image of header.

I will also have another play with that file as well.

and see how I go:smile:

15 Nov 2007, 9:22 PM
#5
afo avatar

afo

Totally Zenned

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

Re: header_bg cuts off short

:oops: Sorry...