• Resolved Peter

    (@oncoursegoggles)


    Your plugin is great.

    I’ve tried everything I can think of to resize our logo, but it always seems to be scaled up.

    The guidance in this post recommends 300 x 500 px jpg:

    Is there a recommended method to reduce the logo size ?

    Thanks

    Peter

Viewing 1 replies (of 1 total)
  • Plugin Contributor kluver

    (@kluver)

    Hi @oncoursegoggles,

    The template indeed always resizes the logo to a height of 3cm. You can resize the logo with a little custom CSS by using the following code snippet:

    add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_resize_logo' );
    function wpo_wcpdf_resize_logo () {
    	?>
    	td.header img { max-height: 2cm; }
    	<?php
    }

    This code snippet should be added to the functions.php of your child theme or with a plugin like Code Snippets. If you haven’t worked with functions.php or code snippets before please read this: How to use filters

Viewing 1 replies (of 1 total)
  • The topic ‘Resizing Logo’ is closed to new replies.