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

XF 1.5 Thread-Specific CSS Styling

Lisa

Well-known member
#3
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
 

Brogan

XenForo moderator
Staff member
#4
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).
 

gfc

Active member
#5
That could be done by a template conditionals.

Something like

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