Howto add a logo to your Redmine banner » History » Version 7

« Previous - Version 7/39 (diff) - Next » - Current version
Xiao Wang, 2011-01-22 16:55
change path in base.rhtml to make it work

HowTo add a logo to your Redmine banner

You can very easily add a logo to your Redmine banner by modifying your base.rhtml file.
Big thanks to Chris Miller for showing me how to accomplish this :)

Note: This has been tested using the Squeejee Theme and the Classic Theme.

Edit your base.rhtml file


nano /opt/redmine/app/views/layouts/base.rhtml

Find this line:

    <h1><%= page_header_title %></h1>

And change it to:

     <!--<h1><%= page_header_title %></h1>-->

Add this line directly below:

     <img src="/redmine/images/logo.png" style="top-margin: 15px; left-margin: 15px;"/>

Now it should look like this:


     <!--<h1><%= page_header_title %></h1>-->
     <img src="/images/logo.png" style="top-margin: 15px; left-margin: 15px;"/>

    <% if display_main_menu?(@project) %>

Upload your logo

Example using the scp command:

scp logo.png

You probably should chown the uploaded logo:

chown redmine:redmine /opt/redmine/public/images/logo.png

Restart your web server


/etc/init.d/apache2 restart
/etc/init.d/httpd restart
/etc/init.d/nginx restart

logo.png (11.2 KB) Carlos Villegas , 2018-04-12 22:26

logoscts.png (11.2 KB) Carlos Villegas , 2018-04-12 22:29