Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Feb 2008
    Location
    Chico, CA
    Posts
    2
    Plugin Contributions
    0

    Default Featured Product Images Not Alligned

    I am having trouble with my image handling. As I add products to my Featured Products area on my site they seem to position themselves randomly. I expect them to add left to right and when there is not enough room add another row. The problem is they start new rows seemingly at random.

    www.legs2die4.com/zencart

    As you can see...The first line went great. Then the images began to appear in random rows. WHY? Anybody ever see this? Better yet...Anybody have a cure?
    Steve

    I am running V1.3.7 with GoDaddy no upgrades, only minor changes to templates.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Featured Product Images Not Alligned

    You must be viewing this in IE....if you have FireFox browser look at it there. This is an IE issue and you can search for fixes for IE on this forum....

    Always do your design in the most standards compliant browser available for your platform, then fix and stupid IE issues after you are finished
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2008
    Location
    Chico, CA
    Posts
    2
    Plugin Contributions
    0

    Default Re: Featured Product Images Not Alligned

    Much Thanks! I never thought of that...I just kept pouring over the code. What can I say, I'm a newbee. steve

  4. #4
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: Featured Product Images Not Alligned

    IE8 shows the images properly - as does firefox... The problem with IE7 is because you have a border on #centerboxwrapper... remove the border to fix the problem...

    alternatively, edit the product_listing.php module (in your customer module folder)

    if (PRODUCT_LISTING_LAYOUT_STYLE == 'columns') {
    if ($num_products_count < PRODUCT_LISTING_COLUMNS_PER_ROW || PRODUCT_LISTING_COLUMNS_PER_ROW == 0 ) {
    $col_width = floor(100/$num_products_count) - 0.5;
    } else {
    $col_width = floor(100/PRODUCT_LISTING_COLUMNS_PER_ROW) - 0.5;
    }
    }

    the subtraction of -0.5 from the calculation should help IE7...
    ~Steve~

 

 

Similar Threads

  1. Category listing not alligned
    By Congerman in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 1 Aug 2009, 05:45 PM
  2. how to turn off images in featured product displays
    By zagnut in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Jul 2008, 03:52 AM
  3. Having a slightly odd issue with Featured Product Images
    By Jolaedana in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 7 Apr 2007, 01:06 AM
  4. Border around Featured Product Images
    By guscott in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Aug 2006, 12:44 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