adding a logo

Steven Scop's Avatar

Steven Scop

26 Dec, 2013 10:55 PM

Hi. I edited the doc template called email_invoice_notice to add my logo. Did I use the correct code to make it look correct?

Before changes:

<div class="left_aligned">
  <h1 id="doc_title">{{ account.company.name }}</h1>
  <div class="subheader">Invoice {{ invoice.number }}</div>
</div>

After Changes:

<div class="left_aligned">
  <h1 id="doc_title">{{ 'v1_header4.jpg' | image_tag }}</h1>
<br><br>
  <div class="subheader">Invoice {{ invoice.number }}</div>
</div>
  1. Support Staff 1 Posted by Seth B on 26 Dec, 2013 11:00 PM

    Seth B's Avatar

    Hi Steven, that looks good to me - but there's another way that will allow you to use a larger image, in order to look better when PDF'd.

    That method is explained here:

    http://help.cashboardapp.com/kb/document-templates/adding-your-logo...

    Additionally, you probably want to use a PNG or GIF file - JPG files don't really convert well to PDF for some reason with our software.

    I apologize for the complexity in adding a logo at the present time. We're working on some features to make the template editing process, adding a logo, and selecting other styles of templates much easier.

  2. 2 Posted by Stef Andries on 28 Jan, 2015 03:21 PM

    Stef Andries's Avatar

    Hi,
    I'm unable to achieve the very same.
    Could you please show the full source of your email_invoice_notice template ? Perhaps I'm overlooking something...

    Please refer to http://help.cashboardapp.com/discussions/problems/1446-no-html-e-mails-when-using-email_invoice_notice-template and sorry f I'm cross-posting.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac