Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2008
    Location
    Chevreuse, France
    Posts
    273
    Plugin Contributions
    0

    Default Subcategory image sizes are different

    I don't get this. Here http://gardenserre.fr/index.php?main...ndex&cPath=1_4, the subcategory images are nicely aligned and of the right width whereas here http://gardenserre.fr/index.php?main...ndex&cPath=1_9 they are a mess, the wrong widths and with horrible alignment. What's gone wrong ? The images were uploaded in the same way and all have the same original width. Wierd.

    Help would be appreciated.

    Cheers

    Pete

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

    Default Re: Subcategory image sizes are different

    If you specify the width and height of (in this case) product listing images in admin > Configuration > Images, all images will be reduced if necessary to fit in both of those dimensions. To let the height vary, specify the height as blank and the original size will be used as long as its width fits in the specified width.

  3. #3
    Join Date
    Jan 2008
    Location
    Chevreuse, France
    Posts
    273
    Plugin Contributions
    0

    Default Re: Subcategory image sizes are different

    Thanks. I've been playing around with the "Image - Product Listing Width" values in Admin/Config. If I specify the width as 120px with no value for the height, I get a reasonable display. However, whereas in http://gardenserre.fr/index.php?main...ndex&cPath=1_4 the images are nicely spaced, in http://gardenserre.fr/index.php?main...ndex&cPath=1_9, they almost overlap each other and the top image actually touches the lower edge of the container box. Is this because there's perhaps too much difference between the widths of the various images ?

    Cheers

    Pete

  4. #4
    Join Date
    Jan 2008
    Location
    Chevreuse, France
    Posts
    273
    Plugin Contributions
    0

    Default Re: Subcategory image sizes are different

    Also, on http://gardenserre.fr/index.php?main...ndex&cPath=1_9, why do you think the last two products have no summary ? Its blank in both cases whereas the products have a description just like the others !

  5. #5
    Join Date
    Jan 2008
    Location
    Chevreuse, France
    Posts
    273
    Plugin Contributions
    0

    Default Re: Subcategory image sizes are different

    I've figured the summary problem (silly code error) but the rest escapes me. Time to move on I suppose.

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

    Default Re: Subcategory image sizes are different

    You have no spacing between elements.
    Add to your stylesheet:

    .productListing-data {padding: 0.8em 0.2em 0;}

    Adjust to taste.

 

 

Similar Threads

  1. v151 Change Subcategory Image Sizes
    By sports guy in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 19 Dec 2012, 02:58 AM
  2. My featured products boxes are different sizes?
    By nickorett in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Jan 2012, 03:08 PM
  3. Product Item Title's are different sizes
    By davisz in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Mar 2011, 06:41 PM
  4. Why are my Images displayed in different sizes?
    By twinkie in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 11 Oct 2009, 08:17 PM
  5. product images are different shapes and sizes what do i do?
    By chabates in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 25 Apr 2008, 06:45 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