Enabling Pinch To Zoom Option In Divi - kary4/divituts GitHub Wiki

Open up functions.php file and remove this code

function et_add_viewport_meta(){
	echo '<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />';
}
add_action( 'wp_head', 'et_add_viewport_meta' );

If you use child theme then just add the following code to the functions.php file in your child theme folder:

/*============================================
Change the meta View port for zoom in / out
=============================================*/
function wpc_remove_default_divi_functions() {
    remove_action ( 'et_header_top', 'et_add_mobile_navigation' );
}

function wpc_et_add_viewport_meta(){
    echo '<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=2.0, user-scalable=yes" />';
}
add_action( 'after_setup_theme', 'wpc_remove_default_divi_functions', 7 );
add_action( 'wp_head', 'wpc_et_add_viewport_meta' );
add_action( 'wp_head', 'wpc_head_addons', 7 );