Your account expired support, please renew to get your support.

Home Forums Themes Support Pangja Zoom on hover and lightbox

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11212

    Hello there,
    I am using Pangja with WooCommerce and I have disabled the hover effect on the product images with the following script in the function.php:

    function remove_image_zoom_support() {
    remove_theme_support( ‘wc-product-gallery-zoom’ );
    }
    add_action( ‘wp’, ‘remove_image_zoom_support’, 100 );

    This works allright, except for the products with multiple photos.
    In that case the magnifier lens is shown only on the last product photo and not on the others, so I suppose is a conflict with some theme css or else.

    You can check the issue on this product for reference:
    https://bottegadiartelignea.com/prodotto/tavolino-a-vela-in-stile-neoclassico/
    Please let me know

    Regards
    Alice

    Attachments:
    You must be logged in to view attached files.
    #11216

    Hi,
    Thanks for contacting us and choosing our product!
    You can go to Appearance -> Customize -> Additional CSS & add this code to resolve the issue with magnifier lens.

    .woocommerce-image-zoom {
      position: relative;
    }

    However we suggest another solution is go to wp-content/themes/pangja/assets/js/ then open file haru-shop.js
    Go to line 68 and remove this code:
    HARUSHOPMAIN.WooCommerce.singleProductImageZoom();
    We’ll notice your case and update in the next version.

    ****
    Regards,
    HaruTheme

    #11227

    Thanks for your help, very appreciated.
    It solved my issue.

    Have a nice one!

    #11232

    Thanks for your feedback!

    ****
    Regards,
    HaruTheme

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.