• 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

#1
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!

 

KenSmith

Active member
#2
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
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)'.
I checked First Row already ;) I tried many different colours and clear value, but they stay gray!! -.-
 
#4
E.g. if I say text: red, background: black, it looks like this:



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

KenSmith

Active member
#5
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;
}
 
#9
Actually, you don't need !important.
This works:
Code:
.discussionListItem .title a
{
     color: red;
}
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:



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

KenSmith

Active member
#10
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.
 

KenSmith

Active member
#11
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
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.
I solved it, thx a lot ;) can you help me with the background image too?