Site logo

Archived topic

Image in woocommerce short description

3 replies · Started by Rick on November 10, 2018

Viewing posts 1–4 of 4

Hi,

When I insert an image in the short description (46px x 46px), it automatically gets blown to the 100% full width of the product container in the category view and I can't seem to control it via CSS.
On the product page, it displays okay.
When I activate another theme it displays the proper size
Look forward to your solution!

Hi there,

Give this CSS a shot:

.woocommerce ul.products li.product a .woocommerce-product-details__short-description img {
    width: auto;
}

Amazing!
Thank you!

You're welcome :)

This archived topic is closed to new replies.