Viewing 2 replies - 1 through 2 (of 2 total)
  • Same here please and font

    in the wcdn-template-functions.php (find it in the plugin map “includes”)

    and change the

    * Show logo html
     */
    function wcdn_company_logo() {
    	global $wcdn;
    	$attachment_id = wcdn_get_company_logo_id();
    	$company = get_option( WooCommerce_Delivery_Notes::$plugin_prefix . 'custom_company_name' );
    	if( $attachment_id ) {
    		$attachment_src = wp_get_attachment_image_src( $attachment_id, 'full', false );
    
    		// resize the image to a 1/2 of the original size
    		// to have a printing point density of about 288ppi.
    		?>
    		<img src="<?php echo $attachment_src[0]; ?>" width="<?php echo $attachment_src[1] / 2; ?>" height="<?php echo $attachment_src[2] / 2; ?>" alt="<?php echo esc_attr( $company ); ?>" />
    		<?php
    	}
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change size of Logo on Print’ is closed to new replies.