I think you mean this template file?
https://github.com/woocommerce/woocommerce/blob/master/templates/content-widget-product.php
You can overwrite this template with the necessary html/css (classes) until it meets your requirements.
Regards
Thanks, i’ll look into it
Is there a way for me to edit/overwrite this template that could not be overwritten again, with the next update?
Just editing the css styles?
* This template can be overridden by copying it to yourtheme/woocommerce/content-widget-product.php.
How to Edit Files: Edit files in an upgrade-safe way using overrides. Copy the template into a directory within your theme named /woocommerce keeping the same file structure but removing the /templates/ subdirectory.
Example: To override the admin order notification, copy: wp-content/plugins/woocommerce/templates/emails/admin-new-order.php to wp-content/themes/yourtheme/woocommerce/emails/admin-new-order.php
The copied file will now override the WooCommerce default template file.
Thanks a lot, i’ll look into whenever I find the time 🙂
Plugin Support
John Coy a11n
(@johndcoy)
Automattic Happiness Engineer
Thanks @crslz
I’ll mark this thread as resolved now.