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

XF 1.4 Adding color to a thread title

Discussion in 'XenForo Questions and Support' started by SuperMonis, May 16, 2016.

  1. SuperMonis

    SuperMonis Member

    I'm trying to make it so that certain thread titles show up in a different color, for example I want to make the "How to Vote" thread title in red and "How to use WorldEdit" in gold but I'm not exactly sure on how to achieve this.

    I've tried adding this to the extra.css

    .forum_view #thread-17694 .title a {
    color: orange!important;
    font-weight: bold!important;

    With "17694" being the thread ID but it doesn't seem to change anything at all. What am I overlooking/doing wrong here?
  2. Steve F

    Steve F Well-Known Member

    That code should work aside from the no space between the colors and !important. You shouldn't need important declaration anyhow.
  3. SuperMonis

    SuperMonis Member

    I even tried:

    .forum_view #thread-17694 .title a {
    color: orange;
    font-weight: bold;

    Didn't work though :(
  4. Steve F

    Steve F Well-Known Member

    Working for me....


    Edit: Where are you adding the CSS?
  5. SuperMonis

    SuperMonis Member

  6. Steve F

    Steve F Well-Known Member

    You will probably need to ask your style author. I see no reason it souldn't work but the CSS is not loading.

Share This Page