• Resolved blaubeervanille

    (@blaubeervanille)


    Hello,
    first of all thank you for this plugin, it works really great and I am very happy about it!

    I need to change the color “silver” in the pdf invoices which is used for the variations of a product. Unfortunately, the silver is hardly readable on printed versions of the invoice (on screens not much better).

    I tried to change the file “tcpdf.php” in plugins/woocommerce-pdf-invoice/lib/tcpdf/ where I found the color #c0c0c0 for silver. I changed it to #000000 but nothing happened.
    I also tried to change the color in class-cssmin.php in /plugins/woocommerce/admin/includes .

    Is there any other way to change those colors? Thank you very much in advance for your answer!

    blaubeervanille

    https://www.ads-software.com/plugins/woocommerce-pdf-invoices/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Bas Elbers

    (@baaaaas)

    Hello blaubeervanille,

    Did you find the solution? If not, please change the background-color in includes/class-invoice.php file on line 132 where you see the beyond code.

    table thead td {
                background-color: #EEEEEE;
                text-align: center;
                border: 0.1mm solid #000000;
            }

    It will work ??

    St.even

    (@steven-1)

    Ah … then we think alike re: Preview.

    Thank for the quick response and info re: invoice numbers and woocommerce ID’s.

    As the store I am developing has yet (soon) to open online I have not actually seen a test or real order go through yet … thus the ignorance.

    I do think it’s ridiculous that Woocommerce uses random ID’s though. I do about the plugin that addresses that … and that it might cause issues ??? We’ll see.

    I’ll certainly rate your plugin when I see the first PDF happen this end.

    Thread Starter blaubeervanille

    (@blaubeervanille)

    Hello baaaaas,
    thanks for your quick reply! Unfortunately I have no includes/class-invoice.php and no background-color: #EEEEEE; for a “table thead td” in my entire project.

    Is it possible to overwrite the color only for the invoice?

    It also seems to be the wrong CSS because the text in the invoice isn’t centered.

    Thanks a lot for your time!
    blaubeervanille

    Plugin Author Bas Elbers

    (@baaaaas)

    Please download the plugin again and go to wordpress/wp-content/plugins/woocommerce-pdf-invoices/includes/class-invoice.php. You should have this file with the css I gave you.

    I think you didn’t update the plugin yet? If so please use the latest update.

    Thread Starter blaubeervanille

    (@blaubeervanille)

    Thank you baaaaas, you were right ?? Now it work’s, thank’s for your time. You do really great!

    Plugin Author Bas Elbers

    (@baaaaas)

    NIce! Can you rate my plugin? I would appreciate it very much.

    Thread Starter blaubeervanille

    (@blaubeervanille)

    Of course, done! Thank’s alot Bas ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Change Color of Variations’ is closed to new replies.