change background colour - 2.5.0

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
didds
Posts: 23
Joined: 18 Jan 2017, 16:24

change background colour - 2.5.0

Post by didds »

I need to set the background colour in our new 2.5.0 implementation to RED.

I did this in 1.2.3 using this
viewtopic.php?f=3&t=21337

but that doesn;t sem to work in 2.5.0 ??

didds
didds
Posts: 23
Joined: 18 Jan 2017, 16:24

Re: change background colour - 2.5.0

Post by didds »

... or does mantisbt-2.5.0 offer a "skins" approach which is configurable?
some sort of choice of theme etc?
didds
didds
Posts: 23
Joined: 18 Jan 2017, 16:24

Re: change background colour - 2.5.0

Post by didds »

bascially the reason is that we also run a DR mantis... and so to easily distinguish between the two (live and DR) the DR was historically set to a red background

I have now set the page title to be "SKMS_DR" instead of "MantisBT" to try and distinguish between them easily-at-a-glance etc.
If I can't change the whole background to red, is there a way to reset the colour of this top banner where "SKMS_DR" is written to be red instead of black?

didds
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: change background colour - 2.5.0

Post by atrol »

Add the following line to file config_inc.php

Code: Select all

$g_css_include_file = 'css/css_inc.css';
Create file css_inc.css in directory css of your installation with the following content

Code: Select all

.navbar {
 background:#ff4040 !important;
}
After that the background of the top banner should be red.
Please use Search before posting and read the Manual
Post Reply