Time Tracking & Productivity Blog
Freckle is the time tracking and invoicing app that your team will love.
Time tracking is tedious?
It's not you, it's your tools.



The Latest


Need to fancy up that invoice? Introducing custom HTML headers!

Thomas FuchsThomas Fuchs

Want to put your logo on your invoice? Change the fonts? Add some color to it? Now you can! We just launched a small yet powerful new feature in Freckle that allows you to add custom HTML to any invoice.

For example, here’s what the default styling of an invoice looks like:

And here’s the same invoice with a tiny amount of custom HTML!

Here’s the HTML snippet that makes this work:


<style>
#invoice, #invoice_report {
  font-family: Georgia;
}
#invoice div.custom-header {
  padding: 0 0 20px 0;
  margin: 0 0 20px 0;
  border-bottom: 1px solid #9dd64b;
}
</style>
<img src="https://asset0.letsfreckle.com/
  images/sites/logo_bigger.png">

You’ll find the custom HTML header field when you create or edit any invoice—just put some HTML in, done!

Pretty simple! Now, you might not be a web designer, but if you have one handy or hire one, it’s really easy to add some personality to your invoices! You can add any arbitrary HTML you want, including custom CSS styling, images, text or anything really.

Tip: If you do include images or other external assets, be sure to serve them from a SSL-enabled web server, that is URLs starting with “https”. This makes sure that when your clients view your invoice, they won’t get warning messages about “mixed secure and non-secure content” in some browsers (like Internet Explorer).

Thomas’ work on Prototype.js, Zepto.js and Micro.js has made him a certified JavaScript Guru. Before founding Freckle, Thomas was consulting with some of the world’s best known companies on their craziest interactive JavaScript needs. A Ruby on Rails core alumni, he is passionate about creating the best user interface experience possible and penned the Scriptaculous JavaScript UI library to share the love, counting sites like Apple.com and Nasa.gov among its users. Thomas’ master plan: work toward a more delicious web using open source goodness.