• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Editing "importantMessage" Class

#1
I have been looking where to find out where to edit class "importantMessage" . I am trying to give the text a unique color, because it currently blends in with the background. It's been a hour and still no luck lol, any suggestions where to look?
 

Jake Bunce

XenForo moderator
Staff member
#2
When you know the class name you can search the templates:

Admin CP -> Appearance

Screen shot 2011-05-25 at 11.30.21 PM.png

You will find it in this template:

Admin CP -> Appearance -> Templates -> xenforo.css

Code:
.importantMessage
{
	margin: 10px 0;
	color: @secondaryDarker;
	background-color: @secondaryLightest;
	text-align: center;
	padding: 5px;
	border-radius: 5px;
	border: solid 1px @secondaryLight;
}

.importantMessage a
{
	font-weight: bold;
	color: @secondaryDarker;
}
You can see this class uses @secondaryDarker from the palette:

Admin CP -> Appearance -> Color Palette

You can edit that color in the palette or edit the CSS to specify a different color.