Customizing the theme

A common scenario of customization is when users first choose a theme for Redmine and then slightly modify it to make it fit their needs. As a result, such users lose the possibility to upgrade that theme in the future (this is because it henceforth contains their changes, which are going to be overridden during an upgrade).

Suppose you want to customize the default Redmine theme. Instead of modifying its files under the public/stylesheets directory, let's create a new theme based on it. To do this, let's create the mastering-redmine subdirectory for our theme (this will be its name) in the public/themes directory. In the newly created directory, create the stylesheets subdirectory, and the application.css file in it.

Now add ...

Get Mastering Redmine - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.