How to stop image opening on product details page

This topic has 4 replies, 2 voices, and was last updated 5 years, 7 months ago ago by Rose Tyler

  • Avatar: oscar.kid
    oscar.kid
    Participant
    May 13, 2020 at 13:37

    How can I stop the images opening on desktop and mobile on the product image page??

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 13, 2020 at 14:01

    Hello,

    Could you, please, provide a screenshot for better understanding?
    Lightshot Screenshot tool https://app.prntscr.com/en/index.html makes screenshots and generates links then you can provide links of screenshots here.

    Regards

    Avatar: oscar.kid
    oscar.kid
    Participant
    May 14, 2020 at 11:27

    I don’t want anything to happen when clicking on image.

    Also for social sharing on the products page, i don’t see instagram as option, when can we expect that?

    Thanks,

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 14, 2020 at 12:16

    Hi,

    Add the next code in Theme Options > Theme Custom CSS > Global custom CSS:

    .single-product .woocommerce-product-gallery__image {
        pointer-events: none;
    }

    Sorry, but Instagram itself does not allow sharing from any other sites.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘how to stop image opening on product details page’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.