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

Modify style of read thread?

Discussion in 'Styling and Customization Questions' started by DomainArchitect.com, Jan 18, 2012.

  1. DomainArchitect.com

    DomainArchitect.com Active Member

    Anybody know how to do this? Thank you.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    There isn't an explicit class for "read" threads, only "unread" threads. But you can style all threads and then override that style for unread threads. For example:

    Admin CP -> Appearance -> Templates -> EXTRA.css

    Add this code:

    .discussionListItems .title a
    	color: red;
    .discussionListItems .unread .title a
    	color: blue;
    Now "read" threads will be red and "unread" threads will be blue.
  3. DomainArchitect.com

    DomainArchitect.com Active Member

    Will this address the thread titles, the usernames, and the link in the lower right hand corner? I cannot seem to find the place in the style editor to address these directly or all at once. Is extra.css the only way to go?

  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The CSS code I posted is only for thread titles. The unread titles have a style property you can use:

    Admin CP -> Appearance -> Style Properties -> Discussion List -> Title (Unread)

    EXTRA.css lets you add your own CSS.

Share This Page