XF 1.5 Thread-Specific CSS Styling


Well-known member
Is there a unique class for every thread? I cannot seem to find it...
Do you want to style the thread content or the threadlist page? You can use the thread-xx (xx being the thread ID number) to style it on the threadlisting page. For example:-
threadid.png threadidcss.png


XenForo moderator
Staff member
Good point; the thread id is available in the thread list view, but not the thread view (which is what I assumed you were referring to).


Active member
That could be done by a template conditionals.

Something like

<xen:if is="{$thread.thread_id} == x">