Changing font and textcolor in Mantis 2.5

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
rbelow
Posts: 2
Joined: 20 Jun 2017, 14:01

Changing font and textcolor in Mantis 2.5

Post by rbelow »

Hi everyone,

I've been looking through the forum and the issues of the bugtracker for help regarding the customization of mantis. Up to version 1.3 things could easily be changed by editing the default.css. But since 2.0 and newer no matter what I edit nothings changes. I added

Code: Select all

$g_css_include_file="css/default.css"; 
to the config_inc.php but it seems mantis is not using the referred css file. Is there an easy way to change background colors and text of the "My View"- Page or the other pages. I would be glad if someone could post a link to a quick overview what files have to be edited or somethign else that would help me.

Thanks in advance
Robert
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Changing font and textcolor in Mantis 2.5

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 (adjust to your needs)

Code: Select all

.page-content {
 background:#ff4040 !important;
}

body {
 font-family:'Times' !important;
}
Please use Search before posting and read the Manual
rbelow
Posts: 2
Joined: 20 Jun 2017, 14:01

Re: Changing font and textcolor in Mantis 2.5

Post by rbelow »

Thank you. That helps alot. I just got one more question. Is there any documentation about the AceAdmin theme which is used? This would be very helpful since there is a lot of css to search for certain definitions.
Post Reply