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

How do I override signature formatting?

Discussion in 'Styling and Customization Questions' started by CyclingTribe, Aug 29, 2012.

  1. CyclingTribe

    CyclingTribe Well-Known Member

    I'd like to make all the text and links in signatures one specific size/style - ignoring any BBCode that's already there.

    How could I do this please?

    Thanks,
    Shaun :D
     
  2. MagnusB

    MagnusB Well-Known Member

    Code:
    .message .signature {
    font-size: 1pt !important;
    color: pink !important;
    font-style: normal !important;
    }
     
    MichaelDance and CyclingTribe like this.
  3. CyclingTribe

    CyclingTribe Well-Known Member

    Thanks Magnus - I'll give that a whirl. (y)
     
  4. MagnusB

    MagnusB Well-Known Member

    Ehh, just thought, need to test out stylized text to see if they use element properties or not

    EDIT:
    Thought so, they are using element properties, so even if you go the CSS route any user changes will override that. You need to strip the bbcode from the signature, I am not sure if there is a template variable that does that?
     
  5. CyclingTribe

    CyclingTribe Well-Known Member

    Okay, thanks for the update. I'll possibly setup some new board rules for signature formatting, use your CSS idea to set the standard, and then manually change anyone who deviates. (y)
     
  6. MagnusB

    MagnusB Well-Known Member

    Yeah, that is pretty much how I do it, though I have limited the height with max-height. I don't care much about the content they put it in, but I hate it when the height of the signature is heigher than the actual message.

    I was thinking some more and if you actually strip bbcode from the signature, you remove url's as well, so it actually would require an addon, or do the dirty one and remove the WYSIWYG editor from the signature box...
     
  7. CyclingTribe

    CyclingTribe Well-Known Member

    Good idea to limit the height - that would also help to cut off some of the runaway ones we get on CycleChat (people can get quite enthusiastic when typing up their sigs). (y)
     
  8. Neil E.

    Neil E. Active Member

Share This Page