• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Can I render quotes differently in signatures?

CTXMedia

Formerly CyclingTribe
#1
On my XF test site I've come across a problem.

People are using quotes in their signatures, and because they are rendered the same way as quotes is the message test, there's a visual overlap that naffs up the layout:

quote-in-sig.PNG

Is there any way to render the quote in the signature differently?

Thanks,
Shaun :D
 

Brogan

XenForo moderator
Staff member
#6
I've blocked quotes from signatures on my site as it was causing confusion:

Code:
/* Block images, quote and code from signatures */
.signature .bbCodeBlock,
.signature .bbCodeImage {
display: none !important;
}
 

CTXMedia

Formerly CyclingTribe
#8
Had a play with it tonight. Copied the existing quote styling, appended .signature to them and then removed a few bits (after finding our through testing they pushed the new formatting into the primary quote CSS and it stuck!! :eek:) and ended up with a structure like this in EXTRA.css:

.signature .bbCodeBlock {
my CSS
}
.signature .bbCodeQuote
{
my CSS
}
.signature .bbCodeQuote .attribution
{
my CSS
}
.signature .bbCodeQuote blockquote
{
my CSS
}

Thanks for the pointers ... quotes in sigs now looking distinctly different ... (y)

Cheers,
Shaun :D
 

Shelley

Well-known member
#9
I couldn't tell you how much I find it to be annoying to see quote in signatures. Blocking quotes is the first bit of css that's hits my extraa.css for every style i build.