Alter Font Size in Address Label

The WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels plugin helps you print address labels easily. The following code snippet allows you to change the size of the font in the address label printed by the plugin.

Simply add the code to the functions.php file of the active child theme and change the value of the property font-size with the required value.

  • Was this article helpful ?
  • YesNo

3 thoughts on “Alter Font Size in Address Label

  1. Gem says:

    Hi Mark
    Thanks for the response, but I am afraid I am still not able to get this to work. Even though it was added to the Active Theme, it was not taking affect. When adding the code above into my Code Snippets Plugin as well, it tells me wf_alter_address_on_addresslabels is already defined, so I can tell its there correctly. But no matter what I try I cannot get the Font Size on Address Label to change.
    Please help.

  2. Gem says:

    Hi There
    I’m trying to implement this , but I cannot get it to work. I have to admit I am new to editing the function.php file, so maybe I am missing something obvious. I’ve added the code to the Avada Child Theme file, cleared the cloudfare, server & local browser cashe. But it does not make any difference.
    Am I missing something?

    • Mark
      Mark says:


      You have to copy the code snippet to the active theme’s function.php. Also, you have to change the value of the property font size with the required value.

Leave a Reply

Your email address will not be published. Required fields are marked *