Support » Plugin: PDF Invoices & Packing Slips for WooCommerce » Remove black line from check

  • Resolved yurchik1

    (@yurchik1)


    Hi there,
    I like your WooCommerce PDF Invoices & Packing Slips plugin a lot! It was quite simple to set and use! There is only one issue I couldn’t find a way to solve. Could you please give me an advice of the best (and preferably the easiest) way to remove the filling of the black line (see the screenshot https://imgur.com/a/Y69mvzA) as it wastes too much ink.
    Looking forward to hearing from you soon,
    Yurii

    • This topic was modified 7 months, 3 weeks ago by yurchik1.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @yurchik1,

    Try adding this code snippet to your site:

    /**
     * Reverse the colors from the order table header
     */
    add_action( 'wpo_wcpdf_custom_styles', function( $document_type, $document ) {
    	?>
    	.order-details thead th {
    		color: black;
    		background-color: white;
    	}
    	<?php
    }, 10, 2 );

    If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use filters

    Thread Starter yurchik1

    (@yurchik1)

    Hi, @yordansoares!
    Thank you for such a great answer! I did everything as you said and now it looks awesome! Thank you so much, the problem is resolved!

    Plugin Contributor Yordan Soares

    (@yordansoares)

    I’m glad to hear that it worked!

    If you don’t mind and have the time, do you think you could leave us a review?

    Thanks in advance and all the best with your store!

    Thread Starter yurchik1

    (@yurchik1)

    Done :*
    Thanks so much once again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove black line from check’ is closed to new replies.