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

XF 1.2 Thread colour of read threads

Discussion in 'Styling and Customization Questions' started by Gobee129, Sep 7, 2013.

  1. Gobee129

    Gobee129 Member

    Hey guys,

    I am a bit desperate by now. Tried for hours to change the colour of the thread titles that were already read. As you can see below, it works perfectly for the unread titles, but whatever text property I change, the titles stay gray -.-

    Can someone help me?

    Thanks a million!

    [​IMG]
     
  2. KenSmith

    KenSmith Active Member

    Look in Style Properties / Discussion List:

    "Read" message titles are styled using the properties under 'First Row Text'.
    "Unread" message titles are styled using the properties under 'Title (Unread)'.
     
  3. Gobee129

    Gobee129 Member

    I checked First Row already ;) I tried many different colours and clear value, but they stay gray!! -.-
     
  4. Gobee129

    Gobee129 Member

    E.g. if I say text: red, background: black, it looks like this:

    [​IMG]

    the views and the username on the right change, but the titles just ignore the new colour ...
     
  5. KenSmith

    KenSmith Active Member

    Hmm, I see your point. Because these are links the style property doesn't help.

    Here's one way around it:
    Add this to the template EXTRA.css

    .discussionListItem .title a
    {
    color: red!important;
    }
     
  6. KenSmith

    KenSmith Active Member

    Actually, you don't need !important.
    This works:
    Code:
    .discussionListItem .title a
    {
         color: red;
    }
    
     
  7. Gobee129

    Gobee129 Member

    just like that? open the extra.css and copy&paste?^^
     
  8. Gobee129

    Gobee129 Member

    it works :) thx so far, I will test a bit now ;)
     
  9. Gobee129

    Gobee129 Member

    do you have more codes like that? because there are still a few things that wont work by changing the properties, e.g. the username on the posts:

    [​IMG]

    the name under the avatar is gray, no matter what I do^^
     
  10. KenSmith

    KenSmith Active Member

    Using Firefox, right-click on the item of interest and choose Inspect Element.
    Chrome has something similar as well.
    This will give you a lot of information on how the style is derived.
     
  11. KenSmith

    KenSmith Active Member

    I noticed that all of your items so far have involved the color of links.
    Perhaps you should see what is set in Style Properties / General / Link.
    If that's not the right issue, and you do want to specifically style the username in the messageUserBlock,
    you can add CSS the provided area in Style Properties / Message Layout / User Info Block,
    or as we did before, directly in the EXTRA.css template.
     
  12. Gobee129

    Gobee129 Member

    I solved it, thx a lot ;) can you help me with the background image too?
     

Share This Page