How to set text color of topic that was read already in the list of topics? It is grayed out too much and it hurts usability.
AI-generated summary
The discussion revolves around customizing the text color of read and unread topics in a topic list using CSS. Greg11 asks how to change the color of read topics, which are currently too gray. fefrei explains that this can be achieved with CSS customization, guiding users to inspect elements to find relevant classes. They suggest using .title.visited to target read topics, but goldmoufdog notes this selector is outdated. fefrei updates the solution, recommending .topic-list-item.visited .title for read topics and mentioning unseen-topic and new-posts for unread topics. goldmoufdog then asks about styling reply count numbers, which can vary in color (e.g., orange for high engagement). fefrei advises checking the elementâs parent classes in the inspector to identify the correct selectors for different colors.
You probably wonât be surprised that this can be done with a CSS customization ![]()
The general approach to find these is to
right-click the element you want to customize, select Inspect
and look for the CCS classes
. Then, you write CCS to target this (your favorite search engine will help you), and test it by directly injecting it in your browser
.
Once youâre done, simply apply it in site settings.
In this case, the following will make these topics appear red:
.title.visited {
color: #FF0000 !important;
}
Sembra che questa funzione sia obsoleta: lâopzione âtitle visitedâ non appare piĂš e provarla non ha alcun effetto.
Inoltre, come si potrebbe cambiare il colore per gli argomenti che hanno effettivamente post non letti?
Ho provato a usare lâispeziona elemento, ma la classe in entrambi i casi si chiama semplicemente âtitleâ, e modificarla sembra cambiare il colore di TUTTI i post, indipendentemente dal fatto che ci siano o meno post non letti.
Sembra che ora tu possa usare il selettore .topic-list-item.visited .title.
Câè anche unseen-topic e new-posts ![]()
@fefrei grazie per i nuovi selettori! Unâultima domanda. Sto cercando di cambiare anche il colore del numero che rappresenta le risposte al post. Ma ho notato che questi possono avere colori diversi: câè il colore standard, ma ne vedo alcuni arancioni, che indicano un alto rapporto tra like e post. Ă la stessa situazione del discorso sui post letti/non letti. Hai qualche idea su come gestire separatamente i colori qui? (Inoltre, câè un modo per scoprire se ci sono altri colori possibili? Finora ho visto solo lâarancione)
Sono al momento su mobile, quindi non posso verificare questo per te, ma come linea guida generale: prova a esaminare lâelemento che vuoi stilizzare nellâispettore del tuo browser e cerca classi utili. Se ti mancano informazioni, sali nellâalbero (allâelemento genitore di ciascun elemento) e controlla ognuno di essi â ad esempio, nel caso title di cui sopra, la classe visited appariva solo pochi elementi piĂš in alto nellâalbero, sullâelemento che rappresenta lâintera riga ![]()

