How to add an email logo in XenForo

DarkFire

New member
Dec 27, 2018
6
2
3
This isn't an easy option for XenForo. You can edit the email logo in the style property settings, but this only applies to Activity Summary Emails.

If you want your logo to appear in emails received for direct messages, you have no other setting that makes this possible.

Fortunately, we can edit templates.

Go to Templates => MAIL_CONTAINER

001.png

Find the following lines: (should be on line 19)
Code:
<a href="{{ link('canonical:index') }}">{$xf.options.boardTitle}</a>

Replace with
Code:
<a href="{{ link('canonical:index') }}">
<img src="HTTPS://FULL-URL-TO-YOUR-LOGO-FILE" width="354px" alt="{$xf.options.boardTitle}">
</a>

Change the width to which suits your logo, but recommended to be under 600px wide so it works nicely on all devices. Simple but effective.
 

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu