WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Product Image Resize Issue (4 posts)

  1. flyingorange
    Member
    Posted 11 months ago #

    Working on a new website for a client that will be using WooCommerce.

    I went over the documentation for the image and how to set the various sizes for the various screens. No problem, set the sizes. Also utilizing a custom theme so I update the functions.php file.

    For some reason, it is re-sizing the main product image. I have it set to 250x250 but if you look at the following link, it is MUCH larger than 250x250

    http://sulaing.fowdwebs.com/?product=mexican-agate-toggle-leather-bracelet

    I've gone up and down through the code, the CSS, etc and cannot figure out why it is doing this. Am I missing something simple?

    http://wordpress.org/plugins/woocommerce/

  2. Roy Ho
    Member
    Posted 11 months ago #

    In your CSS you have this line:

    .woocommerce div.product div.images img, .woocommerce #content div.product div.images img, .woocommerce-page div.product div.images img, .woocommerce-page #content div.product div.images img

    which contains width:100%

    Change that to max-width:100%; instead.

  3. flyingorange
    Member
    Posted 11 months ago #

    It's not in the theme.css or in the woocommerce.css so which CSS stylesheet are you seeing it in?

  4. flyingorange
    Member
    Posted 11 months ago #

    Nevermind, found it in the woocommerce.css

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.