Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Posts
    31
    Plugin Contributions
    0

    Default Would like to remove empty photo box

    After modifying my header by swapping out the default image, and then deactivating the default banners, I am left with a small square with a white center that has a red "X". It appears the template is expecting a photo there, for which there is no actual photo (file). What it used to be was the logo.gif.

    This phantom only exists on IE, but not Firefox! Can anyone suggest how to get this phantom to move along and stop haunting my site?

    Thanks in advance!

  2. #2
    Join Date
    Jun 2007
    Posts
    145
    Plugin Contributions
    0

    Default Re: Would like to remove empty photo box

    Find a transparent gif, make a copy of it, rename the copy to logo.gif and put it in the right directory.
    We're now settled in at our final home - http://www.swiftbooks.co.uk - where you'll find an eclectic collection of used books. Still a lot of work to do, though!

  3. #3
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Would like to remove empty photo box

    One could also edit the correct file.

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


    Edit these 3 lines to look like:

    define('HEADER_LOGO_WIDTH', '');
    define('HEADER_LOGO_HEIGHT', '');
    define('HEADER_LOGO_IMAGE', '');

  4. #4
    Join Date
    Dec 2007
    Posts
    31
    Plugin Contributions
    0

    Default Re: Would like to remove empty photo box

    We were thinking alike WR, accept I had already '' out all fields under defines for header alt and text. That is what got me the aforementioned phantom. When I modified my attmept to your suggestion, I got a much larger box with text in it that would change color when I hovered over it. Sooooo, it would appear that I need to change something else that relies on "this" information when placing the image.........like a template or something???? I am just guessing here, or I wouldn't be asking for help.........I can't find anywhere else that the header.php file is being accessed? Any other suggestions?

  5. #5
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Would like to remove empty photo box

    I would also delete any "logo.gif" image you may have and refresh the Browser. With IE you may have to close all open IE's.

    Other than that, you can declare "display:none" for the "id or class" the logo.gif is used in, presuming there is nothing else or provide a URL for a look see. As you mentioned you did some changes, perhaps fresh eyes can see what you are missing?

  6. #6
    Join Date
    Dec 2007
    Posts
    31
    Plugin Contributions
    0

    Default Re: Would like to remove empty photo box

    Well, I have yet to try the transparent gif image, mostly because, although it appears simple, I wasn't sure it was the most appropriate method to make this correction. If anyone else out there is still reviewing this thread, let me tell you what I have tried thus far:

    I used web developer, under tools to isolate "logo.gif" in all files.
    I then went to all but two of these references and anywhere there were image dimensions or the logo.gif within ''(quotes), I nulled them out by leaving the statements and removing anything between the ' 's.

    In some cases I tried to "comment" these lines out, but then I would get text printed in the box, i.e. SALES_TEXT_HERE, or something similar.

    I made changes in: p_h/zc/nddbc.html
    p_h/zc/incl/lang/engl/classic/header.php
    p_h/zc/admin/incl/lang/eng.php
    p_h/zc/admin/server_info.php
    p_h/zc/incl/lan/engl/header.php

    I did not make changes in: public_html/zencart/admin/includes/footer.php because it indicated it was a footer document, and I am working with the header.

    What this phantom image reminds me of is when an image has been defined in the code, but the image that is to be posted there is missing, or not defined. This is why I had nulled out all 'logo.gif' and image size specifications.

    I am truely stumped now!!! Has anyone else got any new ideas?

 

 

Similar Threads

  1. v139h How do I remove empty photo box on documents-general items?
    By smurfy1 in forum Setting Up Categories, Products, Attributes
    Replies: 8
    Last Post: 8 Jun 2013, 04:41 AM
  2. Remove Welcome: Guest! Would you like to log yourself in?
    By Elysea in forum General Questions
    Replies: 2
    Last Post: 17 Jan 2011, 10:46 PM
  3. I would like to add the Product photo to the email Order Confirmation
    By touchclothing in forum General Questions
    Replies: 0
    Last Post: 1 Sep 2009, 10:55 PM
  4. Would Like to Remove // Comments
    By bumba000 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Oct 2008, 12:45 AM
  5. Remove "would you like to see our newest...?
    By benjames in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 13 Sep 2006, 06:57 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