Results 1 to 8 of 8
  1. #1
    Join Date
    May 2005
    Location
    Oswestry UK
    Posts
    21
    Plugin Contributions
    0

    css problem Featured products display problem Internet Explorer

    If you set 3 products per row in Featured Products it displays OK in Firefox and IE.
    If you set 4 products per row in Featured Products box it displays OK in Firefox. However in IE the fourth product "trips" over into second row and makes a real mess of the display.

    I think this is because floor(100/3) is 33, and 3 * 33 is 99
    floor(100/4) is 25 and, 4 * 25 is 100 - which should all fit but doesn't quite.

    My solution: in includes/modules/featured_products.php line 47, change
    $col_width = floor(100/SHOW_PRODUCT_INFO_COLUMNS_FEATURED_PRODUCTS);
    for
    $col_width = floor(100/SHOW_PRODUCT_INFO_COLUMNS_FEATURED_PRODUCTS) - 1;

    which guarantees a fit!

    All boxes which use this method of calculation may be affected by this.


    Version 1.3.7

  2. #2
    Join Date
    Jul 2008
    Posts
    35
    Plugin Contributions
    0

    Default Re: Featured products display problem Internet Explorer

    Big thank you!

  3. #3
    Join Date
    Aug 2008
    Posts
    135
    Plugin Contributions
    0

    Default Re: Featured products display problem Internet Explorer

    This is awesome!! Thanks so much. The blank sidebox module I was using was causing Internet Explorer to add a blank row when I had the Featured Products showing four products in a row.

    This worked perfectly!

  4. #4
    Join Date
    Oct 2007
    Posts
    30
    Plugin Contributions
    0

    Default Re: Featured products display problem Internet Explorer

    Thanks very much!
    I also have similar issue with Specials products display when 4 columns per row are used.
    Just modify specials_index.php in the same folder mentioned.
    Work perfect.
    *subscribed*

  5. #5
    Join Date
    Dec 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Featured products display problem Internet Explorer

    This needs to be fixed in the next release.

    I was having a similar issue.

    3 columns worked fine, but 2 columns did not. The featured products showed two columns for a split second and then displayed one column.

    By using your simple patch, -- adding that "-1" to the corresponding line of code for my custom template corrected the issue.

    The same problem exists on New Products and Specials.
    The same patch should be made to
    new_products.php
    specials_index.php

    I made those patches and tested them.

    Thanks for figuring this out.

  6. #6
    Join Date
    Apr 2009
    Posts
    29
    Plugin Contributions
    0

    Default Re: Featured products display problem Internet Explorer

    This doesn't work for me. I tried up to -25 (!!) and on Internet Explorer, only one column will appear. I tested the mod on Safari and could clearly see that the mod was taking effect. Could I be having a problem due to cell padding or something? My site is
    www.futureclassicmusic.com. Any help would be greatly appreciated.

  7. #7
    Join Date
    Nov 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: Featured products display problem Internet Explorer

    Quote Originally Posted by iamplatinum View Post
    This needs to be fixed in the next release.

    I was having a similar issue.

    3 columns worked fine, but 2 columns did not. The featured products showed two columns for a split second and then displayed one column.

    By using your simple patch, -- adding that "-1" to the corresponding line of code for my custom template corrected the issue.

    The same problem exists on New Products and Specials.
    The same patch should be made to
    new_products.php
    specials_index.php

    I made those patches and tested them.

    Thanks for figuring this out.

    You guys are AWESOME I wish to have more time to learn more from you all.

  8. #8
    Join Date
    Jul 2009
    Posts
    101
    Plugin Contributions
    0

    Default Re: Featured products display problem Internet Explorer

    Big thank you from me too... Came across this thread because I have 2 featured products and on the main page IE displayed them in 2 columns whereas FF showed them in 1 row.. I want the row display but could NOT get that done. I used the fix described above and now both browsers show this correctly. Kudos.
    Yolanda

 

 

Similar Threads

  1. Internet Explorer 8 display problem
    By technics4home in forum General Questions
    Replies: 1
    Last Post: 5 May 2010, 11:23 AM
  2. Problem display in Internet Explorer
    By Matt Smith in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 15 Nov 2009, 06:53 PM
  3. Replies: 0
    Last Post: 30 Sep 2009, 12:23 PM
  4. New products display problem Internet Explorer
    By danielleym in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Nov 2008, 04:43 AM
  5. internet explorer display problem
    By sadie in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 20 Sep 2007, 02:13 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