Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2005
    Posts
    15
    Plugin Contributions
    0

    Default "Grid" layout problem

    I assume this is a "Grid" issue.

    Problem
    Old cart= 1.2.6 http://www.sonofthepharaoh.com/estoreonline

    This is the layout I'm after - the category images are equal on the rows.
    There are two images on the bottom row, no problem, maybe I'll add another category.

    New cart 1.3.7 http://www.sonofthepharaoh.com/Demo

    This is my test installation
    This is the broken layout. The images on the main page are ALWAYS one less than demanded by \\configuration\maximum values, and the leftover amount is placed singly in the row below - it's awful.

    IE if the maximum value is 4 - the cart displays 3 categories in the row with one category alone in the next row down.
    3 - the cart displays 2
    2 - the cart displays 1

    if the maximum value is set to 1 - the images center on the page.

    I have tried searching the forums for solutions using the terms "category rows", and "Columns per row" and have tried EVERY solution suggested in EVERY thread as a result of those searches. I have resized images back and forth and then to default while changing all the other parameters to no avail. This process has taken the better part of two weeks to go through. I understand there is a "Grid" module of some sort but I'd rather not complicate matters further unless it's a bulletproof solution to this issue that won't generate three more issues that require four more settings to be changed in five more hidden settings locations. If you know what I mean.

    Does anyone have any further suggestions?

  2. #2
    Join Date
    Sep 2006
    Posts
    34
    Plugin Contributions
    0

    Default Re: "Grid" layout problem

    Took me a minute to figure out the problem but now I see it: It looks like you're supposed to have four images in each row but it wraps around to a new row after the third image. Then a new row starts with three images and the fourth wraps around... And I guess the same happens if you try to put two or three images per row. Ouch!

    The only things I can suggest is checking the image sizes vs. that set up in Admin (don't think that's it, tho) and making sure you don't have excessive padding, margins, or horizontal spacing set in your css. The vertical spacing is different, too, so that might point you somewhere.

    Maybe someone else will have other ideas.

    Jim

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

    Default Re: "Grid" layout problem

    I think "excessive padding, margins, or horizontal spacing set in your css" is the most likely cause of this problem. It is also possible that the code is making each of four items take 25% of the theoretical available space, and the slightest encroachment is leaving not enough room for all four to display on the line - so the fourth drops down. I have seen this issue discussed here before, but don't recall where offhand.

    So first use FF web developer or simply view source to find all possible classes/IDs etc (even a or img or something) that are called in the relevant part of the page, and check the stylesheet to make sure none of them has any (horizontal) margins or padding or even borders.
    You might try giving an appropriate class a negative 5px margin (making it take less space than it is supposed to) and see if that changes anything.

  4. #4
    Join Date
    Nov 2005
    Posts
    15
    Plugin Contributions
    0

    Default Re: "Grid" layout problem

    The problem:

    /*list box contents*/
    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew {
    margin: 1em 1em ;
    float: left;

    The solution:

    /*list box contents*/
    .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew {
    margin: 1em 0em;
    }

    Thanks to all that answered. And special thanks to the makers of "Winmerge". Available at fine stores everywhere.

  5. #5
    Join Date
    Sep 2006
    Posts
    34
    Plugin Contributions
    0

    Default Re: "Grid" layout problem

    Glad everything worked out.

    It looks like the links you gave in the original post aren't working anymore! Do you have a new link so we can see the final result?

    Jim

 

 

Similar Threads

  1. "GRID" Layout for Product Listings
    By port_2512 in forum Setting Up Categories, Products, Attributes
    Replies: 12
    Last Post: 21 Aug 2010, 04:34 PM
  2. Sort function for "Column Layout Grid for Product Listing"
    By SteveDuncan in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Jan 2010, 10:46 PM
  3. Layout problem with my "Send a Gift Certificate" box after Checkout
    By cwhittaker in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 30 Jan 2010, 06:25 PM
  4. Layout problem on "Your Total" table
    By caborela in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 Feb 2009, 12:16 PM
  5. HELP with Mod: "Column Layout Grid for Product Listing"
    By ajstocco in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 5 Mar 2008, 08:01 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