XF 2.1 Different background color for quotes vs. quotes in signatures?

CZ Eddie

Active member
Hi, I have custom solid background color set for user quotes.
But it seems to be popular for users to add quotes in their signatures as well.
Is it possible for me to make it so quotes in signatures have different colors from regular quotes in the message body?

For instance, in this screenshot you can see the first arrow pointing to the quote in the message body.
And the second arrow pointing to a quote in the signature.
 

Attachments

  • Untitled.webp
    Untitled.webp
    38.7 KB · Views: 33
Last edited:
So normal quotes can be styled: Style properties -> BB code elements, you can target the signature ones in extra.less:

Code:
.message-signature
{
    .bbCodeBlock-title
    {
        background-color: blue;
        color: white;
    }
    .bbCodeBlock
    {
        background-color: pink;
        border: 1px solid red;
        border-left: 3px solid green;
        color: yellow;
    }
}

191661
 
Top Bottom