MyBB Community Forums

Full Version: How to Change This Error's Color?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,
I got a problem with Error message. When a user enters a wrong pass or name, the error "Please correct the following errors before continuing:
You have entered an invalid username/password combination.

If you have forgotten your password please retrieve a new one.
You have 8 more login attempts.
" is shown in white color and the background color of box is yellow. So the error is not visible. I want to change the color of this error to black. Any help will be Appriciated. Thanks in ADvance.

Here is the SS:
[Image: 93671456.jpg]
Open global.css and find;
div.error {
	padding: 5px 10px;
	border-top: 2px solid #FFD324;
	border-bottom: 2px solid #FFD324;
	background: #FFF6BF;
	font-size: 12px;
}
and Add the color attribute to it like this;
div.error {
	padding: 5px 10px;
	border-top: 2px solid #FFD324;
	border-bottom: 2px solid #FFD324;
	background: #FFF6BF;
color: #000000;
	font-size: 12px;
}
Where can i find global.css?
Go to Admin CP > Templates & Style > Themes > Your Theme > global.css > Advanced Mode.

Then do what Yaldaram told you.
I found it, but the background and font error automatically got changed to correct ones. I dont know how. Thanks Anyway.