XF 2.0 How to change the background color of a quote when you are quoted?

deslocotoco

Well-known member
Simple and fast.

My users are asking for a more different color in the background of the quotes, like this:

I want to change the color of this background when you are quoted.

If my name is on the quote, the color change. Is nice because the user can focus on what is matter inside big posts.

I did some research around here, but cannot find anything.
 
Last edited:
Thanks SyTry, i did manage to change the background color of the quotes inside the Style Options (BB Code Block Options).

But, there is any kind of script that this color change only when the user that is seeing the thread is mentioned? Like this example, inside a discussion:

From User 1 (not me, normal background color)

From User 2 (not me, normal background color)

Me, and this is the background that i want to change the color

If you manage to make a addon, i can pay for this.

I think is something with conditionals but this go way beyond my very limited coding skills (btw, i don't have any coding skills :LOL:)

Do you think i could use something like this?

Code:
<xf:if is="$xf.visitor.user_id">
.bbCodeBlock--quote {
    background: #c84448;
}
</xf:if>
 
Back
Top Bottom