MyBB Community Forums

Full Version: How do you change the quote box color?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Well I'm using a theme and oddly enough the quote box color is white while the text is white because it's a dark theme. How do I change the color of the quote box's background? I want it to be black with a white border. Any help?
in global.css find below or similar code
blockquote {
    border: 1px solid #ccc;
    margin: 0;
    background: #fff;
    padding: 4px;
}

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

color: #fff; may be also required :unsure:

(reference)
Okay I did that but then I noticed something else with my quotes. Instead of doing it like normal it goes like the screenie in attachment. But it's supposed to look like this

jellybeans Wrote:See how it does that? How this has a bar and a separate line for the "Jelly Beans wrote"
You probably deleted part of the CSS, or the HTML.

Can we have a URL to your forum?
1. Go to Admin CP > Templates & Style > Themes > Your Theme > global.css > Advanced Mode.

2. Find:

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

3. Replace with:

blockquote cite {
	font-weight: bold;
	border-bottom: 1px solid #ccc;
	font-style: normal;
	display: block;
	margin: 4px 0;
}
It's fixed now. Smile thanks for the help.
You're welcome. Wink
Rep added for both of you. ;D