• Resolved bklogos

    (@bklogos)


    Hi, Something in our custom theme is causing Gallery Image Zoom to not function. The theme developer is long out of the picture, and I’m stuck with it. Any ideas what the most common issues are? They also had the Image PopUp disabled, but I found that issue in the css.

    I can get a zoomed image via css using transform:scale, BUT that is not as functional as the built in zoom in your plugin.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support fizanzvai

    (@fizanzvai)

    Hi,

    Thanks for reaching out to us. Please try our plugin with any standard theme (like Storefront, Twenty Twenty Five, etc.) and check whether you face the issue or not.

    As you developed a custom theme, it is beyond our support scope.

    Because we don’t know if your theme was developed by following the WooCommerce standard or not. You can check whether the following code is added within your theme or not-

    add_theme_support( 'wc-product-gallery-zoom' );
    add_theme_support( 'wc-product-gallery-lightbox' );
    add_theme_support( 'wc-product-gallery-slider' );

    You can also check this link- https://developer.woocommerce.com/docs/theming/theme-development/classic-theme-developer-handbook/#product-gallery-features-zoom-swipe-lightbox

    Thank You

    Thread Starter bklogos

    (@bklogos)

    Hi @fizanzvai , thanks for the reply.

    I did not write the theme, but I’m stuck with it.

    Zoom works perfectly if I switch to Storefront. After making certain that theme support is included, it still does not work. I looked over that wc doc, and the custom theme looks up to wc standards, but no joy.

    Can there be added css or js that that would prevent the zoom function from working? I know they used css to block the gallery image popup from working, that I found and commented it out.

    I spun up a clone, I’ll leave it up for the day

    https://tavat-eyewear-a.c.wetopi.com/

    Thread Starter bklogos

    (@bklogos)

    I figured it out… the developer used some css to hide both options. Which is strange considering they could have turned them off in the plugin. I can see if they were using the css for different media screens, but they weren’t. Just in case anybody has a use for these…

    .woo-variation-gallery-wrapper .woo-variation-gallery-slider-wrapper:after{
    content: "";
    width: 100%;
    height: 100%;
    background-color: #bbb;
    opacity: 0.1;
    position: absolute;
    left: 0;
    top: 0;
    }
    .woo-variation-gallery-trigger {
    display: none !Important;
    }
Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.