MyBB Community Forums

Full Version: How to change colour of [code] box
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Right now I have a white box with white text so how do I change it?
Edit this CSS in the global.css for your theme in the ACP:

blockquote {
	border: 1px solid #ccc;
	margin: 0;
	background: #fff;
	padding: 4px;
}

blockquote cite {
	font-weight: bold;
	border-bottom: 1px solid #ccc;
	font-style: normal;
	display: block;
	margin: 4px 0;
}

blockquote cite span {
	float: right;
	font-weight: normal;
}

blockquote cite span.highlight {
	float: none;
	font-weight: bold;
	padding-bottom: 0;
}
(2011-03-06, 05:15 PM)MattRogowski Wrote: [ -> ]Edit this CSS in the global.css for your theme in the ACP:

blockquote {
	border: 1px solid #ccc;
	margin: 0;
	background: #fff;
	padding: 4px;
}

blockquote cite {
	font-weight: bold;
	border-bottom: 1px solid #ccc;
	font-style: normal;
	display: block;
	margin: 4px 0;
}

blockquote cite span {
	float: right;
	font-weight: normal;
}

blockquote cite span.highlight {
	float: none;
	font-weight: bold;
	padding-bottom: 0;
}

its a code not a quote but never the less
Oh yeah, it's the codeblock classes then, it's right underneath it.