The email templates all show the logo at the top, and that cannot be customized (as far as I understand). Beneath that is the block with the main content, which can be customized.
Is it possible to customize that header? On my setup it looks massive and ugly, and the background color is ugly (I want it white).
If not possible then:
please consider adding a way to customize it?
BETTER: please consider adding a variable that I can include in my template like $company.logo - then I can use the “plain” template and do it all myself
I almost forgot about the logo which was my main problem. Is there a variable I can use in the custom email template?
My quick test:
<div>
$body <<<< works, but none of below works
$logo
$company.logo
$company.name
$email_signature
$signature
{!! $signature !!}
other variables
</div>
(Note variables do wrk when declared in the template (inside $body), but not the “parent” custom template shown above. And the child template doesn’t have a “logo” variable.)
I found a solution in one of the github issues. We can use $company.logo in a <img> tag in the email template.
So the “super” template must be just $body (like you said above), and everything else goes in the “sub” template in the “templates and reminders” section. A little confusing but I get it now.
The signature/regards thing doesn’t work properly, so I suggest just copy-and-paste your signature to the bottom of each template. It’s not a neat way to do it, but it’ll work.
This is quite important as My Email Logo is tiny, as is the logo in the client portal. I also want to style the email buttons a bit better than the “standard” html button. I dont need to remove any on the InvoiceNinja branding (although it would be nice to make it a bit smaller), just some basic styling that is not available (or at least easy to find) in the V5 admin page.
Ok, I set the template to custom, and from one of the original emails received, pasted all the top part above the “$body” and “$signature” section, then all below to make sure it was exactly the same as what the “light” style sends out, but when the email is received, the only part there is the $body, nothing else??? would be good to know what needs to go where as simply selecting “custom” in the email settings does not work, unless there is something specific that needs to be put in.
I have followed standard styles – ie
-!doctype…
-html-
-header-
-/header-
-style-
-/style-
-body-
.
.
$body
$signature
.
.
-/body-
-/html-
but there is obviously something missing as the only result i get is the $body part which is in the format of a single -p- with various breaks and hrefs, and this is all that is received without and styling.
I have also tested without the -!document type part… still no go. but always the preview shows the proper formating, styling etc, except the signature.
I have kinda off the same problem. If I insert html in the custom email template it will not send it with the custom design just the body part.
And if I add html to the body part, it will display plain text even the html code…