Zen Cart Logo
Forums / General Questions / Editing banner dimensions

Editing banner dimensions

Locked

Views: 993

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
13 May 2008, 9:21 PM
#1
abhishek77 avatar

abhishek77

New Zenner

Join Date:
Mar 2008
Posts:
26
Plugin Contributions:
0

Editing banner dimensions

I need some help in increasing the size of the header banner without affecting the display of the template layout.

I want to increase banner height and plan on using an animated gif. Width will remain the same.

13 May 2008, 9:57 PM
#2
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Editing banner dimensions

Take a look at the stylesheet.css for your templates css folder. the dimensions for your header graphic should be set there.

JOhn ><>

13 May 2008, 11:42 PM
#3
igotag avatar

igotag

New Zenner

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

Re: Editing banner dimensions

Stuff4Toys:

Take a look at the stylesheet.css for your templates css folder. the dimensions for your header graphic should be set there.

JOhn ><>

Could you be more specific as to where in the file? I'm trying to do the same thing.

14 May 2008, 7:57 PM
#4
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Editing banner dimensions

In the STANDARD TEMPLATE

I think this is the only place I made a change, I have a full width logo 750 X 120

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

It's been almost a year since I did this.
JOhn ><>

14 May 2008, 8:20 PM
#5
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Editing banner dimensions

Hmmmph, I cannot for the life of me remember where I changed the name and size of the "LOGO" image, maybe someone else might have an answer.

The above only affects the background image, not the logo image.

JOhn ><>

14 May 2008, 8:28 PM
#6
stuff4toys avatar

stuff4toys

Totally Zenned

Join Date:
May 2007
Location:
SW Florida
Posts:
1,062
Plugin Contributions:
1

Re: Editing banner dimensions

Here it is
includes/languages/english/Your_Template/header.php

// added defines for header alt and text
  define('HEADER_ALT_TEXT', 'BulkLights.Com! - Energy Saving LED Holiday Lights!');
  define('HEADER_SALES_TEXT', '');
  define('HEADER_LOGO_WIDTH', '770px');
  define('HEADER_LOGO_HEIGHT', '120px');
  define('HEADER_LOGO_IMAGE', 'header_bg.jpg');

JOhn ><>