I want to change or flip the product image on the mouse-over product image. So please suggest any WordPress plugin or any code that achieve that effect (also suggest file path of changes be made).
4 comments
Comments are closed.
I want to change or flip the product image on the mouse-over product image. So please suggest any WordPress plugin or any code that achieve that effect (also suggest file path of changes be made).
Comments are closed.
just add custom image field, put 2 images (eg. featured and from custom field) in wrapper and change tier
z-index
on wrapperhover
….CSS:
..or just install: https://wordpress.org/plugins/woocommerce-product-image-flipper/ and follow: http://www.themelocation.com/how-to-flip-product-image-on-hover-in-woocommerce/
EDIT:
we fix WooCommerce Product Image Flipper with this code:
I am using WordPress 4.5.3 with woo-commerce 2.6.1 and it’s working well, even though that WordPress says the plugin it’s not compatible so I take my own risk.
Try to add
animate.css
by daneden on your function, I don’t know if this related or not, but if I commented on the animate.css on thefunction.php
, the plugin didn’t work well.oh once more, I think it’s better you change fadeInDown/fadeOutUp, I try to use it just fadeIn/fadeOut, using Down and Up makes weird, IMOO.
As the product image flipper is pretty outdated, this tool works fine with my woocommerce shop: WC Secondary Product Thumbnail
https://de.wordpress.org/plugins/wc-secondary-product-thumbnail/
(hope it helps, as it took me ages to find a working plugin. Magni image flipper is also strange, as it endlessly flips the images, which is really not what I would expect)
Extended Answer of @Matej ÄakoviÄ=>
First install the https://wordpress.org/plugins/woocommerce-product-image-flipper/ plugin and then place the code in your footer.php