Address labels display the recipient’s/sender’s information on packages. Using address labels saves time and reduces errors, ensuring that orders reach the intended recipients promptly. Altering the font size in an address label improves readability and helps in efficient sorting. The WebToffee’s WooCommerce Address Labels plugin helps to alter the font size in an address label using a custom code snippet.
Altering the font size
To alter the font size in an address label, follow the below steps:
- Update the
font-sizein the custom code snippet given below with the preferred font size. In the custom code snippet the font size is set to 10px.
- Now, add the updated custom code snippet to the active child theme’s functions.php file. If the current theme doesn’t have a functions.php file, then use a third-party plugin for the addition. To know more about how to add a custom code snippet using a third-party plugin, refer to this article.
The following image shows an example of address labels with a font size of 10px(pixels).
Lets change the font size to 15 pixels(px).
- Change the
font-sizein the custom code snippet to 15px.
- Add the updated custom code to the active child theme’s functions.php file.
The following image shows an example of address labels with a font size of 15px( pixels).