change font in invoice
-
I want to change font in invoice and packing slip
i tried this function code/* Change Packing Slip Font / Appearance */ add_action( 'wpo_wcpdf_custom_styles', 'wpo_wcpdf_custom_styles', 10, 2 ); function wpo_wcpdf_custom_styles ( $document_type, $document ) { ?> *[dir="rtl"],@page,body { font-family: Arial; } <?php }
also tried with css
*[dir="rtl"] { font-family: Arial; } @page { font-family: Arial, Helvetica, sans-serif !important; } body { font-family: Arial, Helvetica, sans-serif !important; }
please help me
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘change font in invoice’ is closed to new replies.