Disable Product Image Popup (Lightbox) on Click

This topic has 5 replies, 3 voices, and was last updated 5 months ago ago by Ruhul Amin

  • Avatar: Ruhul Amin
    Ruhul Amin
    Participant
    July 14, 2025 at 12:46

    Hi 8Theme Team,

    I’ve noticed that when I click on a product image on the product page, it opens in a popup (lightbox style), as shown in the attached screenshot. I would like to disable this functionality completely.

    Specifically, I want:

    The product image to be non-clickable
    The popup/lightbox to not open when clicking the product image

    Please let me know how I can disable this feature, or if any setting is available to turn it off.

    Thank you for your help and support!

    4 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 14, 2025 at 13:22
    Avatar: Ruhul Amin
    Ruhul Amin
    Participant
    July 14, 2025 at 17:47

    After turning off this option, clicking on the product image from the product page opens the product image link directly in the tab.

    Please contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    Avatar: Alex Carter
    Alex Carter
    Support staff
    July 15, 2025 at 07:26

    Hello,

    Custom CSS code can be used:

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

    https://www.8theme.com/documentation/xstore/additional-customisation/optimal-placement-for-custom-css-code/

    Warm Regards,
    The 8Theme Team

    Avatar: Ruhul Amin
    Ruhul Amin
    Participant
    July 15, 2025 at 09:12

    Thanks for the support! My topic “Disable Product Image Popup (Lightbox) on Click” has been successfully resolved.

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

The issue related to '‘Disable Product Image Popup (Lightbox) on Click’' 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.