Changing font and textcolor in Mantis 2.5

Post about your customizations to share with others.

Moderators: Contributor, Developer

Changing font and textcolor in Mantis 2.5

Postby rbelow » Jun 20, 2017 9:30 am

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
rbelow
 
Posts: 2
Joined: Jun 20, 2017 9:01 am

Re: Changing font and textcolor in Mantis 2.5

Postby atrol » Jun 20, 2017 3:46 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 (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
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

Re: Changing font and textcolor in Mantis 2.5

Postby rbelow » Jun 21, 2017 1:54 am

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.
rbelow
 
Posts: 2
Joined: Jun 20, 2017 9:01 am


Return to Customizations

Who is online

Users browsing this forum: Google [Bot] and 9 guests