Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2006
    Location
    Perth Australia
    Posts
    30
    Plugin Contributions
    0

    Default Header Banner height issues!

    Hi guys

    I'm trying to replace the default zen-cart banner with my own, but it seems like the space for the image is too short hence cutting off the bottom of my image. What code should i alter to adjust this height to make it taller?

    I have also deleted the section of the code in header.php for the sales text logo image, so now it displays HEADER_SALES_TEXT and HEADER_ALT_TEXT. how do I get rid of this? the reason I deleted it was because I wanted to get rid of the padding between my banner and the top nav bar, was there a better way I could hav done this?

    Cheers

    Ps, the picture is attached, although there's no url because I'm hosting it on windows atm.
    Attached Images Attached Images  

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Header Banner height issues!

    Without a URL to really look at what's wrong I can only guess at a solution.

    You might try adding a height declaration to #logowrapper in your stylesheet.css

    The height should be the same height as your background image.

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Header Banner height issues!

    Also the header.php file contains only the text to be placed in the header, not the code that does the placement. This is why the constant names (in capitals still appear). The code that you want to delete is in tpl_header.php.

    However, you should not delete references to HEADER_ALT_TEXT or anything with ALT in as these are the alternative text that is displayed when people have images turned off (e.g. when using screen readers) and you code will not validate without them.

    Also in the current version of Zen Cart, simply removing the text in red below is enough to prevent the tag line from being displayed, or taking up any space.[QUOTE] define('HEADER_SALES_TEXT', '[COLOR="Red"]
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. Banner Sideboxes Height
    By cameo in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Oct 2010, 04:27 AM
  2. Category height spacing issues
    By vanettda in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 31 Dec 2009, 05:33 AM
  3. Editing Height of Banner
    By moonbeamsoycandles in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Nov 2009, 07:54 PM
  4. how do I decrease the height of the top banner or header
    By alma1 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 17 Jul 2008, 01:54 AM

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