Product Alt Attribute
-
I have css in place to show the alt tag overtop of the product image on the product pages. I want the same thing to happen on the shop photos but I can’t seem to get the correct attr correct.
This doesn’t show the alt tag on the shop product page
content: attr(data-thumb-alt);
I’ve also tried
content: attr(data-attachment-woocommerce_thumbnail size-woocommerce_thumbnail-alt);
Can anyone tell me the correct attr to call in?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Product Alt Attribute’ is closed to new replies.