Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2011
    Posts
    18
    Plugin Contributions
    0

    Default Messy Category Image Display

    Hello,

    I am using Zen Cart 1.3.9h, and I am struggling with a rather messy category display. Once you click into one of the main categories on my store, you are presented with a page of categories with images. However, they are not lining up very well, and it doesn't look very neat. Example: http://jigstop.com/tackle/index.php?...=index&cPath=8

    Would anyone be able to help me clean that up? I'm using Category Dressing to allow for image-based category links on the left-most display, if that affects anything.

    Thanks,
    Alin

  2. #2
    Join Date
    Jan 2010
    Location
    Australia
    Posts
    239
    Plugin Contributions
    1

    Default Re: Messy Category Image Display

    you need to make sure that all images are same size before you upload them.

    for example your acme-tackle image is 150 X 150
    and ahi-logo.jpg is 144 X 58
    Believe it or not But My existence is illusional

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

    Default Re: Messy Category Image Display

    Yes, you have added whitespace padding to some of your images and not to others, so it is no surprise they don't line up. Just pad them all out to the same dimensions.

  4. #4
    Join Date
    Sep 2011
    Posts
    18
    Plugin Contributions
    0

    Default Re: Messy Category Image Display

    Quote Originally Posted by gjh42 View Post
    Yes, you have added whitespace padding to some of your images and not to others, so it is no surprise they don't line up. Just pad them all out to the same dimensions.
    I've been attempting to tweak the CSS, but there must be something eluding me. Would you be able to point me to where I should be entering the padding? I'd like to center each image in a padded square with a height and width of 175 px.

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

    Default Re: Messy Category Image Display

    The white space is with the images and not the css.

    Take the images into your image editing software and crop them and then resize them all the same size and they will line up.

    If you don't have a good image editor download a free one here.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

 

 

Similar Threads

  1. display category image and subcategory image
    By Xaria in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 31 Mar 2008, 11:12 AM
  2. Category image display
    By bean_2k1 in forum Basic Configuration
    Replies: 5
    Last Post: 10 Jan 2007, 05:38 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