Strong communities are built on shared goals and trust.
  • Join Administrata today and get 15 free posts!

    Register now and claim a free content order to boost your community activity instantly.

    Register Now

XenForo How to add an email logo in XenForo

For topics specific to XenForo customization and optimization.

Cedric

ready to reach your impossible?
Administration
Rating - 0%
I'm baffled 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

View attachment 93


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.
 

Users who are viewing this thread

Back
Top