Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Posts
    12
    Plugin Contributions
    0

    Default Category Listing Box Breaking

    Hi People,

    Got a major problem (well, it is for me), in that my cusomer has switched on "Call for Price" on some products which in turn has broken the container that holds it.

    I'm sure it's just about adjusting the php layout in a tpl file?

    Is there a schematic of all the Zen Cart pages that points out which file affects which part of the site?

    I've attached a screenshot with how it should look inset. If anyone can give me any clues, i'd be very appreciative!

    http://www.liquidpictures.co.uk/listings_error.jpg

    Thanks in advance

    Kristian
    Attached Images Attached Images  

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

    Default Re: Category Listing Box Breaking

    It's much easier to diagnose problems like this if we have a link to the site.

  3. #3
    Join Date
    Oct 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Category Listing Box Breaking

    Sorry, the site is a shorrocks.co.uk

  4. #4
    Join Date
    Oct 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Category Listing Box Breaking

    Has anyone got an idea on where I can fix this part of the design, or where I can find a "Roadmap" of the Zen Structure?

  5. #5
    Join Date
    Oct 2008
    Posts
    12
    Plugin Contributions
    0

    Default Re: Category Listing Box Breaking

    I'm getting a bit closer. Using Firebug and Firefox (superb piece of kit!) i've found that the products div for centerBoxContentsProducts is 240px wide:

    <div class="centerBoxContentsProducts centeredContent back" style="border: 7px solid black; background-color: rgb(255, 255, 255); width: 240px;">

    But somewhere, there has to be a width that says how wide the content is, which is why the title and the More info box is overflowing on all product pages such as http://www.shorrocks.co.uk/index.php...70d378c176b80f

    Any ideas?

    Thankyou.

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

    Default Re: Category Listing Box Breaking

    This is probably not fixable with your current template layout, which uses tables. If you change the product listing to use divs, the display can be adjusted to be flexible and fit the different possibilities in the same width.

    Note that the default Column Grid product listing uses divs, so your customization should be able to be redone.

    You have two table cells side by side, and when each contains an image, they expand to fit the image. The combination is too wide to fit in the containing div.

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

    Default Re: Category Listing Box Breaking

    Also, the div has inline styling which sets the width twice:
    HTML Code:
    <div style="background-color:#fff; width:240px;border:7px solid black;" class="centerBoxContentsProducts centeredContent back" style="width:49.5%;">
    The second width supersedes the first, so the div takes 49.5% of the center.

 

 

Similar Threads

  1. Category Listing Box Mod Please help!
    By Sushigal in forum General Questions
    Replies: 0
    Last Post: 22 Apr 2009, 10:58 AM
  2. More than one Category Listing box
    By cinbou in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 28 Aug 2008, 06:08 PM
  3. Adding category listing box?
    By jameslh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 May 2007, 06:27 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