Viewing 5 replies - 1 through 5 (of 5 total)
  • Is it the ‘quickly change the font’ method that you are using?

    Have you tried this method?

    How do I customise the look of the invoice and delivery note?

    for full control, copy the file style.css from woocommerce-delivery-notes/templates/print-order to yourtheme/woocommerce/print-order and start editing it.

    Note: Create the woocommerce and print-order folders if they do not exist. This way your changes won’t be overridden on plugin updates.

    I use this method for full design control and it works very well.

    Thread Starter Quarryscapes

    (@quarryscapes)

    Yes, copied and pasted into my theme functions.php, no effect whatsoever.

    Adding the copies of the templates and changing the css also does nothing.

    Forgive me for asking but have you pasted your style.css copy into your theme folder correctly?

    The delivery notes plugin has a templates folder…

    woocommerce-delivery-notes/templates/print-order/style.css

    But when putting a copy into your theme there should be no templates folder…

    mytheme/woocommerce/print-order/style.css

    Thread Starter Quarryscapes

    (@quarryscapes)

    Looks like there may be a caching issue, today as it’s gone crazy large and is not changing back!

    Plugin Author Vishal Kothari

    (@ashokrane)

    @quarryscapes Apologies for the late reply. Incase you are still facing this problem, you can copy the below mentioned 2 files to the “wp-content/themes/storefront/woocommerce/print-order/” folder. Replace “storefront” with your active theme’s folder name. The 2 files to be copied from the Delivery notes plugin are:

    1. woocommerce-delivery-notes/templates/print-order/print-content.php
    2. woocommerce-delivery-notes/templates/print-order/style.css

    After you have copied them, add the below class to the style.css file & give it the appropriate styling as you need.

    .company-address {
            font-weight: bold;
            font-size: 18px;
    }

    The above would display the address as: https://screencast.com/t/dfGNLAh43 .

    If you don’t want to change anything in the print-content.php file, then it’s ok to not copy that to the theme folder. Simply copying style.css to the theme folder & changing that will also reflect your new styles.

    I hope that helps. Thanks @paul_n for chipping in.

    :Vishal

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change Address font’ is closed to new replies.