Support » Plugin: WooCommerce LightBox » How to disable fancybox zoom

  • Hello,

    After the quickview is open, and the image is being clicked, there is the fancybox opens on full screen. Is there a way to stop there? I want to disable the next click, who zooms in in to the image. As well to disable the full screen button on the top right.


Viewing 1 replies (of 1 total)
  • Plugin Author wpbean


    Add the following PHP code to your theme or child theme functions.php

    It will remove the fancybox script.

    if( !function_exists('wpb_wiz_remove_scripts') ){
    	function wpb_wiz_remove_scripts() {
    		wp_dequeue_style( 'wpb-wiz-fancybox-css');
    add_action( 'wp_enqueue_scripts', 'wpb_wiz_remove_scripts', 20 );
Viewing 1 replies (of 1 total)
  • The topic ‘How to disable fancybox zoom’ is closed to new replies.