mkb-112 Posted August 11, 2014 Share Posted August 11, 2014 (edited) Hi there, I use PS 1.5. I have been trying to change the address font size for the delivery slip. I tried to alter the appropriate code in /public_html/pdf/delivery-slip.tpl to a 14pt font, but it does not work: <!-- ADDRESSES --> <table style="width: 100%"> <tr> <td style="width: 20%"></td> <td style="width: 80%"> {if !empty($invoice_address)} <table style="width: 100%"> <tr> <td style="width: 50%"> <span style="font-weight: bold; font-size: 14pt; color: #9E9F9E">{l s='Delivery Address' pdf='true'}</span><br /> {$delivery_address} </td> <td style="width: 50%"> <span style="font-weight: bold; font-size: 14pt; color: #9E9F9E">{l s='Billing Address' pdf='true'}</span><br /> {$invoice_address} </td> </tr> </table> {else} <table style="width: 100%"> <tr> <td style="width: 50%"> <span style="font-weight: bold; font-size: 14pt; color: #9E9F9E">{l s='Billing & Delivery Address' pdf='true'}</span><br /> {$delivery_address} </td> <td style="width: 50%"> </td> So what did I miss and what can I do? Please help. thnx in advance, Arjan. Edited August 13, 2014 by mkb-112 (see edit history) Link to comment Share on other sites More sharing options...
mkb-112 Posted August 13, 2014 Author Share Posted August 13, 2014 (edited) Ok, solved it myself: Changed the specific table style under addresses by adding font weight: bold and font-size: 16pt to override the standard 9pt size used for the entire document. <!-- ADDRESSES --> <table style="width: 100%; font-weight: bold; font-size: 16pt""> <tr> <td style="width: 20%"></td> <td style="width: 80%"> {if !empty($invoice_address)} <table style="width: 100%"> <tr> <td style="width: 50%> <span style="font-weight: bold; font-size: 11pt; color: #9E9F9E">{l s='Delivery Address' pdf='true'}</span><br /> {$delivery_address} </td> <td style="width: 50%"> <span style="font-weight: bold; font-size: 11pt; color: #9E9F9E">{l s='Billing Address' pdf='true'}</span><br /> {$invoice_address} </td> </tr> </table> {else} <table style="width: 100%,font-weight: bold; font-size: 16pt"> <tr> <td style="width: 50%"> <span style="font-weight: bold; font-size: 11pt; color: #9E9F9E">{l s='Billing & Delivery Address' pdf='true'}</span><br /> {$delivery_address} </td> <td style="width: 50%"> </td> Edited August 13, 2014 by mkb-112 (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted August 15, 2014 Share Posted August 15, 2014 Thanks for the update! Happy selling, pascal Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now