Skip to main content

Customize email notification colors

Hi everyone,

I'd like to customize the color of the email notifications sent by FluentCommunity (new comment, new reply, etc.).

By default, links and buttons are blue. I'd like to change their color to match my brand.

A few questions:

  1. Is there a native setting in FluentCommunity to change the email primary color?
  2. If not, is there a PHP filter/hook available to override it programmatically?
  3. Which file in the plugin handles the email template, so I can identify the right hook?

Thanks in advance!

1.00

Filter hook can be provided for this. We are looking into this. Thank you.

Fabien B

Tawsif Ahmed Riyad
Good news! Please notify me when it's ready.
Thank you.

Fabien B, already created a pull request for the work, configured the theme color in the email template too, along with providing filter hooks. My work will be reviewed, and I hope it will be merged; if merged, you will get it in the upcoming release.

Fabien B

Tawsif Ahmed RiyadΒ Thank you so much for taking the time to work on this! I really appreciate it. I'll keep an eye on the upcoming release. Fingers crossed it gets merged!

Sophia S

Tawsif Ahmed RiyadΒ Greta one indeed, meanwhile, when should we expect the next version of FC?

Update: my work is still in the review phase, hence wasn’t added in v2.4.0 release .

Hope it will be reviewed and accepted and come in the next release after v2.4.0

Fabien B

Tawsif Ahmed RiyadΒ Thanks for the update!

That's a shame it wasn't included in v2.4.0, but I hope it gets reviewed and merged in the next release.

We spend a lot of time customizing the portal to match our brand colors, and it works really well. But these notification emails feel completely disconnected from the rest of the platform we've built. Being able to align them with our brand would make a real difference.

Fingers crossed for the next release! 🀞

Morgan McArthur

yeagh it's like i ordered green tinted glasses but then receive blue

Fabien B, Sophia SΒ 

added in v2.5.0

Sophia S

Tawsif Ahmed RiyadΒ great. Thank You 😊 πŸ™πŸΏ

Fabien B

Tawsif Ahmed RiyadΒ Thank you!

Fabien B

Tawsif Ahmed RiyadΒ Where can we change email colors? Where are email templates for FluentCommunity?
Thanks

Fabien B, by default, email links and buttons will be now show your brand color, but if you still want to change the link and button color, you can use these filter hooks,

fluent_community/theme_button_text_color
fluent_community/theme_color

Usage example:

add_filter('fluent_community/theme_color', fn() => '#ff0000')

Fabien B

Tawsif Ahmed RiyadΒ Thank you πŸ‘