Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2007
    Posts
    12
    Plugin Contributions
    0

    Default main page categories - v1.5 displays wrong

    We just upgraded to v1.5 and are using a customized template - everything is fine except the category display at the top of the main page.

    Instead of displaying rows of 3 categories, it drops the 3rd category down to the next row, so there are 2, 1, 2, 1, etc.

    http://www.catalystathletics.com/store/

    We have torn our hair out trying to correct this with no progress at all. Anyone know what's going on? Thanks.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: main page categories - v1.5 displays wrong

    I'm not seeing the problem described.

  3. #3
    Join Date
    Jul 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: main page categories - v1.5 displays wrong

    Shows up on both my comp and phone. Old version displays correctly on both, and the template files are the same.

    So we are clear, in the main content area of the page (white bg), the first row of categories w images and links has 2 categories (performance menu journal, articles); the next row has only one category (books). All 3 of these should be in the first row. In other words, that categories section should be displaying as a 3 x 3 grid.

  4. #4
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: main page categories - v1.5 displays wrong

    I too see the 2, 1, 2, 1, etc. rows. In the code as displayed on that page, I see this for the rows of products...

    Code:
    <div class="categoryListBoxContents" style="width:33%;">
    If I change that 33% to 32% (using FireBug in Firefox) the products shift into the required 3 per row. So track down the file which is hard-wiring that style into the code and either edit it to 32% or better yet, get rid of the in-line style altogether and replace it with a proper declaration in your stylesheet.

    Rob

  5. #5
    Join Date
    Jul 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: main page categories - v1.5 displays wrong

    I'll look into it when I'm back on my computer, but I think that style def is not hard coded, but is taken from the admin settings, which are set now to display a row of three, hence the 33% showing when of view the outputted code. So im sure I could go to the file and hard code it to 32% but I'd rather fix the actual problem if possible. Again, this part of the code wasn't touched between the former installation (v1.3.8 I think) and the current one (v1.5). The old one displayed fine with the same code and admin settings.

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

    Default Re: main page categories - v1.5 displays wrong

    This kind of problem happens when padding or margins are added to the elements. 3 x 33 = 99%, which leaves only a few pixels left over for spacing. If there is more than that, the total adds up to more than 100%, which causes the problem.
    stylesheet.css (line 564)

    .centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #cartBoxEmpty, #cartBoxVoucherBalance, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .leftBoxHeading, .rightBoxHeading, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .gvBal, .attribImg {
    padding: 5px;
    text-align: center;
    }

  7. #7
    Join Date
    Jul 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: main page categories - v1.5 displays wrong

    I changed that 5px to 0, and the problem is gone - thanks. Although it still doesn't explain why the problem occurred in this version but not the previous, because the stylesheets were identical. But I suppose I don't care now since it's displaying correctly. Thanks again.

 

 

Similar Threads

  1. Featured products displays TWICE on main page ... how to fix???
    By nathanscrivener in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 30 Oct 2010, 03:49 AM
  2. The login page displays wrong in Explorer only
    By Alquimio in forum General Questions
    Replies: 2
    Last Post: 26 Oct 2009, 10:33 PM
  3. Main page text displays on all pages
    By g3steve in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 17 Oct 2008, 06:24 PM
  4. Page that displays all categories
    By sccr410 in forum Templates, Stylesheets, Page Layout
    Replies: 25
    Last Post: 2 Jan 2008, 07:07 AM
  5. Login Page Displays Wrong in Firefox
    By checheconleche in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 6 Nov 2007, 09:55 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