Roundcube Community Forum

 

Creating a Customizable Header and Footer in Roundcube

Started by samuelolavo, June 12, 2025, 11:30:45 AM

Previous topic - Next topic

samuelolavo

Hi everyone,

I'm currently trying to add a customizable header and footer to my Roundcube webmail interface. I attempted to create separate HTML files and include them directly in the theme (Elastic), but I'm running into some layout issues, particularly when trying to ensure that email content isn't affected or misaligned.

I'm using the latest version of Roundcube.

Is there an official or recommended way to include a persistent header and footer across all pages (except the message view, ideally), possibly with support for a toggle button to show/hide them?

Any guidance, plugin recommendations, or example implementations would be greatly appreciated.

Thanks in advance!

JohnDoh

Can you describe the your issue a little more please? I guess your extending the Elastic skin and you've modified `templates/includes/layout.html` and `templates/includes/footer.html` to add your new header/footer template objects?

QuoteIs there an official or recommended way to include a persistent header and footer across all pages (except the message view, ideally), possibly with support for a toggle button to show/hide them?
The Elastic skin uses Bootstrap 4 please have a look at that documentation for examples of toggles.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...