Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2007
    Posts
    2
    Plugin Contributions
    0

    Default 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.


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

    Please help

  2. #2
    Join Date
    Jan 2007
    Location
    Carlsbad, CA
    Posts
    158
    Plugin Contributions
    0

    Default 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
    -Buck

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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');

  4. #4
    Join Date
    Nov 2007
    Posts
    2
    Plugin Contributions
    0

    Default 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

  5. #5
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: header_bg cuts off short

    Sorry...

 

 

Similar Threads

  1. Menu Bar cuts off pictures
    By HEAT in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Apr 2010, 06:49 PM
  2. IE 7 cuts off my title image?
    By iscatech in forum Basic Configuration
    Replies: 4
    Last Post: 27 Mar 2009, 01:30 AM
  3. Firefox is fine, but IE cuts sideboxes off
    By bluealice in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 30 Nov 2007, 09:45 AM
  4. Sending text to mySQL storage cuts off at special characters
    By thoberre in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 12 Oct 2007, 09:17 AM
  5. IE7 Main Logo Cuts Off Halfway?
    By askfritzdotcom in forum Basic Configuration
    Replies: 0
    Last Post: 31 May 2007, 05:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg