• 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.

    Thanks

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

    (@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');
    		wp_dequeue_script('wpb-wiz-fancybox');
    	}
    }
    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.