edgaras85,
To make your forum mChat look complete, the last thing you could do is make the background in mChat have the same colors as the rest of your forum instead of having Subsilver2 colors.
#1)
create a stylesheet for mChat. You can make a copy of your mchat_subsilver2.css found in your root directory > mchat folder. Use that copy and rename it mchat_Melankolia.css
Then open mchat_Melankolia.css to edit it and replace the code with this code.
- Code: Select all
/**
*
* @package mChat Subsilver2 Style
* @version 1.3.1 22.08.2009
* @copyright (c) djs596 ( http://djs596.com/ ), (c) RMcGirr83 ( http://www.rmcgirr83.org/ ), (c) Stokerpiller ( http://www.phpbb3bbcodes.com/ )
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
**/
/* mChat
------------ */
div.mChatBG1 {
background-color: #181818;
padding: 5px 5px 5px 15px;
border-bottom: 1px dotted #000000;
overflow: hidden;
}
div.mChatBG2 {
background-color: #181818;
padding: 5px 5px 5px 15px;
border-bottom: 1px dotted #000000;
overflow: hidden;
}
div.mChatRowLimit {
overflow: auto;
width: 100%;
height: 200px;
}
div.mChatRowLimitCustom {
overflow: auto;
width: 100%;
height: 500px;
}
div.mChatPanel {
text-align: center;
padding: 5px;
}
input.mChatText {
cursor: text;
width: 50%;
border: 1px solid #A9B8C2;
color: #000000;
padding: 3px 5px 3px 5px;
margin: 5px 0px 0px 5px;
}
input.mChatText:hover {
border-color: #11A3EA;
}
input.mChatButton {
width: auto;
font-weight: bold;
background-color: #353535;
border: 1px solid #40bfe7;
cursor: pointer;
padding: 2px 5px 2px 5px;
margin: 5px 0px 0px 5px;
font-size: 1.1em;
}
input.mChatButton:hover {
border-color: #40bfe7;
color: #40bfe7;
}
div.mChatHover:hover {
background-color: #1d1d1d;
}
#2)
Then you will need to edit your overall_header.html for Melankolia
Root > styles > Melankolia > template
Find
- Code: Select all
<link rel="stylesheet" href="{ROOT_PATH}mchat/mchat_Subsilver2.css" type="text/css" />
Change to
- Code: Select all
<link rel="stylesheet" href="{ROOT_PATH}mchat/mchat_Melankolia.css" type="text/css" />
It will be case sensitive so be sure you spell it the same ( Melankolia.css )
Then go and Purge the cache
Refresh your forum and the background should match.
