Skip to:
Content
Pages
Categories
Search
Top
Bottom

Quick CSS Tip: Highlight First Forum Post Like WPMU Forums

  • @gunju2221

    Participant

    Notice on the WPMU forums, the first post is highlighted with a nice yellow background? Well here is how they do it:

    Put this in your theme’s CSS under Group Forum topic.

    `ul#topic-post-list li:first-child div.post-content {
    background: none repeat scroll 0 0 #FCEC8F;
    border: 1px solid #F9D926;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    color: #111111;
    font-size: 13px;
    line-height: 20px;
    margin-top: 10px;
    padding: 1%;`

    Change anything to your liking.

    Enjoy!

  • The topic ‘Quick CSS Tip: Highlight First Forum Post Like WPMU Forums’ is closed to new replies.
Skip to toolbar