Okay
  Public Ticket #3598054
disable magnifier on single product image
Closed

Comments

  •  1
    Moussa started the conversation

    dear team

    kindly let us know how to disable magnifier on single product image

  •  1,875
    Judith replied

    Hello Moussa,

    Thanks for writing to us.

    To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:

    From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:

    .woocommerce div.product div.images .woocommerce-product-gallery__trigger {
        display: none;
    }

    Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related

    If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help. 

  •  1
    Moussa replied

    hello

    thank you for your kind reply

    however the item still zoomed in  on mouse hover

  •  2,958
    Andrew replied

    Hi Moussa,

    Thank you for getting back to us.

    Replace the previous CSS shared by @Judith with this one and let us know if this works for you.

    .single-product .easyzoom {
      pointer-events: none!important;
    }
    

    We look forward to your reply.

    Thanks,

  •  1
    Moussa replied

    thank you so much

  •  1,875
    Judith replied

    Hello Moussa,

    You're welcome.

    Should you have any further questions or encounter any issues, please don't hesitate to reach out.

    Best regards,