Photo in single product page - by Martine

3 replies2 participantsUpdated by Rose Tyler

  • Avatar: Martine
    Martine
    Participant

    Hi!
    Please check https://nobyart.com/product/bunny-gloves-by-studio-giftig/

    Zooming the photo is fine. But I don’t want you to be able to click on it so that the photo opens. Can I turn this off somewhere? If so, where?

    3 Answers

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    Hello,

    There is no such option, but you can add the next code in Theme Options > Theme Custom CSS > Global custom CSS:

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

    Regards

    Avatar: Martine
    Martine
    Participant

    Thanks! Using this code also disbled the zoom funciton, is that correct? If it’s possible I would like to keep the zoom function. Just do not want to be able to click on the image to enlarge it.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff

    There is no such possibility, unfortunately. You can submit a request here – https://www.8theme.com/taskboard/

    Regards

You must be logged in to reply to this topic.Log in/Sign up