Jump to content

Invoice dispay issue


Recommended Posts

Hello R3volver,

 

Reuploading the logo at the desired size would be best, however this may affect the logo appearance elsewhere on your site.

 

You can change the size of the logo on your invoice by going to /pdf/header.tpl

 

At the top, you will see the code for the logo image as below:

 

 <td style="width: 50%">
  {if $logo_path}
	  <img src="{$logo_path}" style="width:{$width_logo}px; height:{$height_logo}px;" />
  {/if}
</td>

 

This is the default, using the provided width and height. If you want to reduce it, you can simply divide the variables by your desired amount. For example, if I want the height and width to be 1/2 of the provided parameters, it would look like this:

 

 <td style="width: 50%">
  {if $logo_path}
	  <img src="{$logo_path}" style="width:{$width_logo/2}px; height:{$height_logo/2}px;" />
   {/if}
</td>

 

Note the /2. You may want to try different numbers to get the best fit for your logo.

 

Best Regards,

Scott M

Edited by scottm (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...