1. 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?

Discussion in 'Styling and Customization Questions' started by CyclingTribe, Oct 29, 2011.

  1. CyclingTribe

    CyclingTribe Well-Known Member

    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
     
  2. James

    James Well-Known Member

    aside .bbCodeQuote{
    propety: someCss
    }
     
    GeeksChat likes this.
  3. CyclingTribe

    CyclingTribe Well-Known Member

    Thanks. That easy eh? Man I love this XF stuff ... (y)
     
    James likes this.
  4. CyclingTribe

    CyclingTribe Well-Known Member

    Hmmm ... seems to affect both post and sig quotes ....
     
  5. James

    James Well-Known Member

    Try:
    .signature .bbCodeBlock{
    property: someCss;
    }
    should work.
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    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;
    }
     
    Fuhrmann likes this.
  7. CyclingTribe

    CyclingTribe Well-Known Member

    That might be the way to go for now - just ask people to type them out instead.
     
  8. CyclingTribe

    CyclingTribe Well-Known Member

    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
     
  9. Shelley

    Shelley Well-Known Member

    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.
     
    GeeksChat likes this.
  10. CyclingTribe

    CyclingTribe Well-Known Member

    I've removed virtually all of the formatting so they are just plain text quotes now ... much better than they were. (y)
     
    Shelley likes this.

Share This Page