• Resolved tmora

    (@tmora)


    Hi, since one of the last updates all product thumbnail in the woocommerce cart appear in a different size.

    Screenshot:

    View post on imgur.com


    I appreciate any help.
    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Ryan Ray, a11n

    (@ryanr14)

    Hi @tmora,

    From the site the only cart I am able to easily access is this one that slides in from the right side of the page.


    Link to image: https://cld.wthms.co/BvKEj3

    If I go to the cart page directly (just type /cart) I do see the giant images. From what I can see as well the theme, or something, has modified the size of the thumbnail image WooCommerce would normally generate.

    I say that because in the cart I see the image has the thumbnail class from WooCommerce, but it’s loading a 935×1210 px sized image. So for one, the theme itself shouldn’t generate such a large image for the cart product images. Secondly, a few lines of CSS help fix the layout as well.


    Link to image: https://cld.wthms.co/6mP8rr

    
    .shop_table .cart_item th,.shop_table .cart_item td {
      max-width: 150px;
    }
    
    img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail.lazyloaded {
        width: 100%;
        height: auto;
    }
    
    Thread Starter tmora

    (@tmora)

    Hi @ryanr14,

    Thank you so much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘product thumbnail in the woocommerce cart appear in a different size.’ is closed to new replies.