Welcome Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community. This website is private and your must REGISTER or LOGIN to access any of this website.

SignUp Now!

How to add an email logo in XenForo

Jammin

Administrator
Staff member
Joined
Nov 24, 2024
Messages
324
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

1735732083215.webp


Find the following lines: (should be on line 19)


Code:
<a href="{{ link('canonical:index') }}">{$xf.options.boardTitle}</a>

Replace with:
Code:
&lt;a href="{{ link('canonical:index') }}"&gt;<br>&lt;img src="HTTPS://full-url-to-your-logo-file" width="354px" alt="{$xf.options.boardTitle}"&gt;<br>&lt;/a&gt;

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.
 
Back
Top
xfstore.net