Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2008
    Posts
    10
    Plugin Contributions
    0

    Default Need different style for category images and product images

    I am running into a lot of errors with the pictures when you use older versions of IE, so I want to create a specific style on the stylesheet for the category images, and then a different one for the product images. Is there a way to do this?

    Or - if you can just tell me how to make all the images show up the right size. I've tried taking off the height and width styles, setting them to 100%, setting them to auto, nothing works with older IE. They show up short and wide until you roll over them with the mouse, and then they're fine

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

    Default Re: Need different style for category images and product images

    You can style

    .listingProductImage {}
    for product images on listing pages, and
    .categoryListBoxContents img {}
    for (sub)category images on category/subcategory pages.
    Other classes may be needed for other locations.

    The important thing, I think, is that the behavior you describe does not generally happen, so there is something unusual about your computer or your ZC installation. Can you post a link so we can see if it is a problem for others?

  3. #3
    Join Date
    Jul 2008
    Posts
    10
    Plugin Contributions
    0

    Default Re: Need different style for category images and product images

    The link is www.prostitchdesign.com/zencart

    The site works fine in Firefox, Opera, and IE 7, but has problems in older versions of IE, and we have no idea why. Any input would be appreciated

  4. #4
    Join Date
    Jul 2008
    Posts
    10
    Plugin Contributions
    0

    Default Re: Need different style for category images and product images

    Also if you go to

    http://prostitchdesign.com/zencart/distorted.html

    You can see the screenshots the client sent us of the distorted images. We got the homepage fixed but have been unable to fix the rest of the problems

  5. #5
    Join Date
    Jul 2008
    Posts
    10
    Plugin Contributions
    0

    Default Re: Need different style for category images and product images

    What about making different style specifications for thumbnail product images and large product images? Is there a way to do that?

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

    Default Re: Need different style for category images and product images

    Not as such. You can make different style specs for each type of place where images are used, and there will not be both thumbnails and large images used in any one place.

 

 

Similar Threads

  1. v138a Need to display different alt text for additional images on product info page
    By GillS in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 12 Feb 2013, 01:18 AM
  2. Need a addons for multiple images and color for single product.
    By neal99 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 14 Oct 2010, 05:49 PM
  3. valign category images and product images to bottom
    By litepockets in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 May 2010, 02:48 AM
  4. Replies: 3
    Last Post: 30 May 2008, 09:40 PM
  5. Different category and sub-cat images for different languages
    By ultraman in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 10 May 2007, 05:22 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR