Please upgrade here. These earlier versions are no longer being updated and have security issues.

Background color of the first's discussion post

Good day to y'all,
I am trying to change the background color of the first post of a discussion only. To differienciate it from the replies, is it possible ?
Thanks

Comments

  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    Easiest thing would be to install plugin CSSEdit and then add a line like that

    .Discussion {
      background-color: red;
    }
    


    whu606
  • x00x00 MVP
    edited April 2015

    You want to be more specific, or you will colour the whole page

    .MessageList .Discussion {
         background-color: red;
    }
    

    grep is your friend.

  • vrijvlindervrijvlinder Papillon-Sauvage MVP
    edited April 2015

    To change the background color of the OP discussion on the discussion page to make it stand out from the comments:

     body.Vanilla.Discussion.Index .ItemDiscussion {
        margin-bottom: 12px;
        padding: 8px;
        background: #666;
        }
    
Sign In or Register to comment.