Tagged: image caption, product image, woocommerce
Is there a way for Enhold to display image captions to all product images?
I’ve tried the css from: https://kriesi.at/support/topic/how-do-you-put-a-caption-below-an-image/ with no success–but I didn’t see captions anywhere, so I was thinking there may be something else awry here.
.av-image-caption-overlay {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
bottom: -20px !important;
color: black !important;
height: auto !important;
left: 50% !important;
transform: translate(-50%) !important;
width: auto !important;
}
Thanks!
Hey Burnt Pixel,
You’re using the Woocommerce product gallery and it does not have the image overlay and so the css above will not work.
Best regards,
Victoria
Hi Victoria,
So is there an equivalent overlay class that could be called on to achieve the same thing in Woocommerce product gallery? Just looking for a way to display image captions for products in Woocommerce product gallery. I am happy to tweak the way it looks on my own.
Thanks!
BP
Hi BP,
You might want to look at these threads:
https://stackoverflow.com/questions/29778288/get-woocommerce-product-gallery-image-caption
https://theme.co/apex/forum/t/add-caption-to-product-images-in-woo-commerce/3612
Best regards,
Victoria