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

XF 1.4 How to Add Color to Text within Code Tags

Discussion in 'XenForo Questions and Support' started by Amaury, Jul 4, 2015.

  1. Amaury

    Amaury Well-Known Member

    I often see Jake Bunce make posts like this, telling people to add the code in red/blue. However, every time I've tried, including just now, I cannot get it work and the color BB code just gets removed after submitting the post.
     
  2. MattW

    MattW Well-Known Member

    Code:
    Something in red
     
    Amaury likes this.
  3. Martok

    Martok Well-Known Member

    You can see how he does it if you quote his post and then look at it in the BB Code Editor. It's something I didn't realise you could do until I looked at it a few weeks ago.

    Basically, rather than using [CODE][/CODE], you use [CODE=rich][/CODE], then you simply colour the test you want in blue/red/whatever.
     
    adwade, maszd, Amaury and 1 other person like this.
  4. MattW

    MattW Well-Known Member

    Put code=rich for the opening tag
     
    Amaury likes this.
  5. Martok

    Martok Well-Known Member

    I'm surprised that it isn't mentioned in the BB Codes part of the Help section.
     
    maszd, MattW and Amaury like this.
  6. Amaury

    Amaury Well-Known Member

    Thanks, @MattW and Martok!

    I'm having way too many derp moments.
     
  7. Amaury

    Amaury Well-Known Member

    Sneaky developers are sneaky.
     

Share This Page