Jump to content
claybourg

[SOLVED] Invoice and Delivery PDF logo not displaying correctly

Recommended Posts

The logos of the invoice and delivery PDF bleed over the shipping address.

 

I've tried uploading a smaller logo but it will still bleed over the shipping address with a poor resolution. With the large logo the resolution is fine but the positioning is the same.

 

This is standard before I touch any code and I'm not finding which CSS to edit to fix this.

Edited by claybourg (see edit history)

Share this post


Link to post
Share on other sites

I've figured it out.

 

In /PDF/header.tpl

 

Reduce the logo size line 27 from 50% originally

<tr>
<td style="width: 40%">
{if $logo_path}
 
In /PDF/invoice.tpl and delivery-slip.tpl add a few table rows at the top
 
from this:
 
<div style="font-size: 9pt; color: #444">
 
<table>
<tr><td> </td></tr>
</table>
 
<!-- ADDRESSES -->
 
to this"
 
<div style="font-size: 9pt; color: #444">
 
<table>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
</table>
 
<!-- ADDRESSES -->

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More