• Resolved cucurutcho

    (@igorshiota)


    Hi guys, I would like to keep using the default template for the invoice and just make the footer font size slightly bigger. I’ve tried to add html to the footer field (under the General tab), and also tried to add the following code:


    function invoice_footer_font_size() {
    ?>
    <style>
    .order-colophon {
    font-size: 1.2em;
    }

    </style>
    <?php
    }
    add_action( 'wcdn_head', 'invoice_footer_font_size', 20 );

    But no luck…when I make changes, I check under the template preview (under Template tab) and the footer’s font doesn’t change..

    Could you help me with that, please?

    • This topic was modified 9 months, 2 weeks ago by cucurutcho.
Viewing 1 replies (of 1 total)
  • Plugin Author priyankajagtap

    (@priyankajagtap)

    Hi @igorshiota,

    Apologies for the delay in getting back to you.

    After testing the code on our end, we can confirm that the font size of the footer does change on the final invoice. The filter code will only show results on the actual invoice, not on the template preview. The additional filter code applies to actual invoices, delivery notes, and receipts.

    Please verify if the code snippet successfully changes the font size of the footer on the invoice and inform us of any issues.

Viewing 1 replies (of 1 total)
  • The topic ‘Footer Font Size?’ is closed to new replies.