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

XF 1.4 Change Background Color of Moderated Threads

Discussion in 'Styling and Customization Questions' started by Amaury, Feb 19, 2015.

  1. Amaury

    Amaury Well-Known Member

    I'd like to change the background color of moderated threads to match that of our background color for pinned threads.

    I managed to change it for soft-deleted threads with this:

    Code:
    .discussionList .discussionListItem.deleted {
        background-color: @primaryLightest;
    }
    So I tried using the same CSS above for moderated threads, but with a small modification, to no avail:

    Code:
    .discussionList .discussionListItem.moderated {
        background-color: @primaryLightest;
    }
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Code:
    .discussionList .discussionListItem.moderated .listBlock
    {
        background-color: orange !important;
    }
     
    Amaury likes this.
  3. Amaury

    Amaury Well-Known Member

    Perfect!

    Looks like I had everything but the .listBlock and !important, which the deleted one didn't need. :)
     

Share This Page