change background colour - 2.5.0

Post about your customizations to share with others.

Moderators: Contributor, Developer

change background colour - 2.5.0

Postby didds » Jun 19, 2017 11:14 am

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
https://www.mantisbt.org/forums/viewtop ... =3&t=21337

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

didds
didds
 
Posts: 8
Joined: Jan 18, 2017 11:24 am

Re: change background colour - 2.5.0

Postby didds » Jun 20, 2017 5:25 am

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

Re: change background colour - 2.5.0

Postby didds » Jun 20, 2017 6:16 am

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
didds
 
Posts: 8
Joined: Jan 18, 2017 11:24 am

Re: change background colour - 2.5.0

Postby atrol » Jun 20, 2017 3:41 pm

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
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
Site Admin
 
Posts: 6714
Joined: Mar 26, 2008 4:37 pm
Location: Germany


Return to Customizations

Who is online

Users browsing this forum: No registered users and 5 guests