Support » Plugin: WooCommerce Image Hover » click to replace instead of hover

  • Hi Brad!

    First of all, let me tell you that i’ve tested a lot of plugins trying to achieve this and your is the best so far!!

    I’m wondering if its possible to make some little adjustments in order to turn the hover effect in a click & replace. So instead of hover and replace the main image, it would be a click to replace the main image, is that possible?

    Maybe you could add this option in the plugin settings in a near future in order to make this beautiful plugin even more complete 😉

    Hope you can help me with my question. Thank you so much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brad Davis

    (@brad-davis)

    Hi Ricardo,

    Thank you for the kind words. The functionality you are talking about is actually the core image functionality, hence why it is not included in this plugin. If you disable this plugin and you dont have that, I would say it is your theme not giving you the feature.

    Let me know if you find it.

    Cheers
    Brad

    Thread Starter ricardo.araujo330

    (@ricardoaraujo330)

    Hi Brad, thank you so much for answering!

    Actually, my theme opens images in lightbox, something that I don’t like at all.
    That’s why I’m trying to find a solution here but I understand If you cant help. Just saying that if you could add this feature in your plugin, allowing people to choose between hovering or clicking, It would make this plugin even better 😉

    Best regards,
    Ricardo

    Plugin Author Brad Davis

    (@brad-davis)

    Hi Ricardo,
    Thanks for the feedback, I will consider it or possibly make it as a seperate plugin.

    If you want to disable the lightbox, try the following code in your functions file

    
    function remove_wc_gallery_lightbox() { 
      remove_theme_support( 'wc-product-gallery-lightbox' );
    }
    add_action( 'after_setup_theme', 'remove_wc_gallery_lightbox', 100 );
    

    Let me know if that works for you.

    Cheers
    Brad

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘click to replace instead of hover’ is closed to new replies.