Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2007
    Location
    Dayton, Ohio
    Posts
    672
    Plugin Contributions
    0

    Default How to resize attribute images which are too large?

    I am trying to limit my attribute images to max: 300px wide. But when I attempt to modify css (namely: .attribImg {max-width:300px;} the images resizes nicely as far as width, but the max height stays on my responsive template, totally stretching the image and even overlapping.

    Perhaps someone could give me a pointer here as to the proper height resize method to match the max width-height.
    Building a better web, one site at a time: Dayton Web Design

  2. #2
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: How to resize attribute images which are too large?

    image { max-width:100%; height:auto }

    Best to always use the two together.

  3. #3
    Join Date
    Aug 2008
    Location
    Abbottabad, Pakistan
    Posts
    60
    Plugin Contributions
    0

    Default Re: How to resize attribute images which are too large?

    I have used the following

    /*Attributes*/
    .attribImg {
    max-width:300px;
    height:auto;
    margin: 0.3em 0em;
    }

    and attribute images are still very big. This css has no effect on them. Where do I go to fix them?

 

 

Similar Threads

  1. What are "medium" and "large" images called in admin, and which size are recommended?
    By Nina_Paris_France in forum Customization from the Admin
    Replies: 4
    Last Post: 11 May 2011, 03:01 PM
  2. Lightbox/Slimbox images are too large and fill the screen.
    By kristacomputers in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 19 Dec 2010, 08:06 AM
  3. Popup images window too small - doesn't resize
    By davenz in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 15 Oct 2010, 03:44 AM
  4. My thumbnail images are still too large on load-time
    By mrcastle in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 10 Jun 2010, 09:17 PM
  5. Product Images Problem.? All images are Large?
    By jeffhardy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Apr 2009, 10:50 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