Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jun 2006
    Posts
    783
    Plugin Contributions
    0

    Default Strange "image" behavior ?

    Some of my images are "blocking text". In other words the image is set to "front". For example, in the link below if you scroll the left hand navigation you will see the first image is actually blocking the drop out menu. ?? I don't see anything in Admin to adjust this.

    http://www.cvtreasures.com/index.php...e=products_new

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

    Default Re: Strange "image" behavior ?

    It's behaving fine in Firefox. Are you looking in IE? If so, it is probably some obscure IE bug causing the effect.

    I see the effect in IE6. You are using IH2 or some other special image display mod, and the code for this is not compatible with the code for the flyout menu mod.

    Post in the relevant mod support threads for help with this.
    Last edited by gjh42; 8 Apr 2008 at 09:06 PM.

  3. #3
    Join Date
    Jun 2006
    Posts
    783
    Plugin Contributions
    0

    Default Re: Strange "image" behavior ?

    Yes, using IE. Versions 6 and 7.

  4. #4
    Join Date
    Apr 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: Strange "image" behavior ?

    I have this issues also, with my header logo.

    It displays fine in Firefox but only partially displays the image using internet exploder.

    Any ideas how I might fix this?
    (get Bill Gates in here now!!)

    www.thegluepeople.co.uk

    Thanks

  5. #5
    Join Date
    Jun 2007
    Posts
    28
    Plugin Contributions
    0

    help question Re: Strange "image" behavior ?

    [FONT=Courier New]Im also having a similar issue with IE and my header logo.

    Firefox displays it fine but internet exploder only partially displays the image.

    www.thegluepeople.co.uk

    Any ideas how I might resolve this? Thanks


    [/FONT]

  6. #6
    Join Date
    Jun 2006
    Posts
    783
    Plugin Contributions
    0

    Default Re: Strange "image" behavior ?

    I never got a response here, other then "it owrks fine with Firefox". But, I'll keep looking on other sites on the web

  7. #7
    Join Date
    Jun 2006
    Posts
    783
    Plugin Contributions
    0

    Default Re: Strange "image" behavior ?

    Actually gjh42 gave some help on the image handler. He suggests posts in the specific IH mod thread area.

  8. #8
    Join Date
    Jun 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Strange "image" behavior ?

    I managed to get it working by editting tpl_header.php and adding the following style settings to the logo div.

    Code:
    <div id="logo" style="position: relative; float: left;width:194px; height:106px; text-align:center;">
    Apologies for the double post.

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

    Default Re: Strange "image" behavior ?

    The better and easier way to add styles is to put them in the stylesheet (/includes/templates/your_template/css/stylesheet.css).

    That way the layout details and controls are all in one place, and you won't have to copy the edits over in PHP files when you upgrade to a new version of Zen Cart.

    Just add to the #logo declaration:
    Code:
    #logo {
        float: left;
        width:194px;
        height:106px;
        text-align:center;
        }
    ( position: relative; and float: do not go together.)
    And actually, the width and height are defined in /includes/languages/english/your_template/header.php:

    define('HEADER_LOGO_WIDTH', '192px');
    define('HEADER_LOGO_HEIGHT', '64px');

    and you need to change them there.
    Last edited by gjh42; 16 Apr 2008 at 08:12 PM.

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

    Default Re: Strange "image" behavior ?

    Just remembered, the position: relative can work for giving an element a z-index, so that's why it's there.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Strange image behavior
    By ADJB in forum General Questions
    Replies: 4
    Last Post: 15 Aug 2011, 12:34 AM
  2. Adding a "New" image to the product listing (similar to "Sold Out" image)
    By javaman in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 18 Feb 2010, 11:44 PM
  3. Remove "Product Image" "Item Name" and "Price"...
    By rebekah in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Sep 2008, 06:08 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