Ecommerce Shopify WordPress Discussion

WooCommerce Text is white on hover but I can not work out why [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 2 days ago. Improve this question I have a Small WooCommerce Website Under the product title I post the size e.g. 185mm x 510mm. This size is a product attribute and I use a snippet to get it to display on that page. add_action( 'woocommerce_shop_loop_item_title', 'custom_attributes_display', 20); function custom_attributes_display() { // Just for product category archive pages if(is_product_category()) { global $product; // get all product attributes $attributes = $product->get_attributes(); // the array of attributes you want to display (shown in same order) $show_attributes = array('Size'); foreach($show_attributes as $key => $show_attribute) { foreach($attributes as $attribute) { // check if current attribute is among the ones to be shown if ($attribute->get_name() == $show_attribute) { echo $attribute->get_options()[0]; unset($show_attributes[$key]); break; } } } } } When you hover over the product, this size text turns white, but I can not for the life of me work out why. I think I'm missing something simple.
TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.