MyBB Community Forums

Full Version: Change quotes background color?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I need to know how I can change the color of quotes because the text and the background is both white.
I have tried to change the color in the code below, but that won't work.


blockquote {

    border: 1px solid #0f0f0f;
    margin: 0;
    background: #222;
    padding: 10px;
}
Could depend on your theme, can you give an example url ?
An url to a post with a quote. And that a guest can see. I won't read all the forum to find one Smile

And you have the same trouble in codeblock.

What I suggest:
blockquote {
	border: 1px solid #0f0f0f;
	margin: 0;
	background: #222;
	padding: 10px;
        color: #000; /* or what you want */
}

.codeblock {
	background: #fff;
	border: 1px solid #ccc;
	padding: 10px;
        color: #000; /* or what you want */
}
Ok, so it's codeblock and not blockquote.

Add the color attribute in the .codeblock entry (global.css, line 834)
Thanks a lot.