[Support request] Woocommerce Image hover on shop/category pages

Home Forums Support Woocommerce Image hover on shop/category pages

Viewing 31 post (of 31 total)
  • Author
    Posts
  • #1296036
    David
    Staff
    Customer Support

    Try this:

    @media(min-width: 769px) {
        .woocommerce ul.products li.product a img {
            width: 250px !important;
            height: 250px !important; 
        }
    
    }
    .woocommerce ul.products li.product a img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .woocommerce ul.products li.product:hover a img { 
        object-fit: contain;
    }
Viewing 31 post (of 31 total)
  • You must be logged in to reply to this topic.