• Resolved Gemini23

    (@gemini23)


    Can anyone advise – how do I make the image ‘stationary’ and not move around when I put the mouse over it?

    I haven’t come across this before.

    This is a Woocommerce product.

    Adding the following to the functions.php didn’t resolve it.
    remove_theme_support( ‘wc-product-gallery-zoom’ );

    • This topic was modified 1 year, 1 month ago by Gemini23.
    • This topic was modified 1 year, 1 month ago by Gemini23.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Gemini23

    (@gemini23)

    Resolved – and for anyone else – add the following to function.php
    function remove_image_zoom_support() { remove_theme_support( ‘wc-product-gallery-zoom’ ); } add_action( ‘wp’, ‘remove_image_zoom_support’, 100 );

    Thread Starter Gemini23

    (@gemini23)

    PS – The code above is incorrect and crashes website – copied it incorrectly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to prevent an image from moving with ‘mouse-over’?’ is closed to new replies.