[Resolved] How to increase size of woocommerce product image cart

Home Forums Support [Resolved] How to increase size of woocommerce product image cart

Home Forums Support How to increase size of woocommerce product image cart

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #837560
    Jorge

    Hello!

    I would like to increase the size of the product image on the cart page of Woocommerce using GP.

    Is there any option where can I increase it? I can not find it…

    Thanks for your awesome support!

    Jorge

    GeneratePress 2.2.2
    GP Premium 1.7.8
    #837941
    Leo
    Staff
    Customer Support

    Hi there,

    That’s set by WooCommerce itself and GP doesn’t control it.

    Give this CSS a shot:

    .woocommerce-cart table.cart img {
        width: 50px;
    }
    #838426
    Jorge

    Hi Leo!

    This works great! Thank you so much for your help! I appreciate it a lot!

    Could I ask you a last question? How can I add the same code for a version mobile? This works on the Desktop perfect but for the mobile version is still the same! Thanks again!

    Jorge.

    #838975
    Leo
    Staff
    Customer Support

    Isn’t the image hidden on mobile?

    Can you link me to the site in question?

    #839082
    Jorge

    Yes you are right. The image is hidden on mobile, I was wondering If I could display the image on a mobile version as well.

    Any idea if I can do it with CSS?

    This is the web

    Thanks in advance.

    #839094
    Leo
    Staff
    Customer Support

    That would be a better question for WooCommerce support unfortunately.

    I tried with some CSS but it doesn’t look very good at all.

    #839096
    Jorge

    Thanks anyway Leo! ๐Ÿ˜‰

    Bye

    #839097
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

    Let me know if they can’t help and you still want to give it a shot.

    #1918648
    Ree

    Has anybody has a clue how to do this on mobile? I am looking for a solution to enlarge size of woocommerce product image in cart.

    #1918658
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    @media(max-width: 768px) {
        .woocommerce-page table.cart .product-thumbnail {
            display: block !important;
        }
        .woocommerce-page table.cart .product-thumbnail:before {
            content: '';
        }
        .woocommerce-page table.cart .product-thumbnail img {
            width: 100px;
        }
        .woocommerce-page table.cart .product-remove {
            float: left;
            border-bottom: 0;
        }
    }
    #1918669
    Ree

    doesn’t work even I added width: 100px!important;
    is there a place where I can send private info?

    #1918670
    David
    Staff
    Customer Support

    If you can raise a new topic, as the topic starter you will have access to the private information field where you can share your URL.

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.