XF 2.1 How to display a notice on a specific thread

Notices don't have any built in criteria for threads and it's also not possible to target a specific notice in extra.less as the data key comes after the main notice div.

You can replicate it with an ad template and use a conditional statement such as [data-content-key="thread-1" to show/hide the content.
 
Don't know why I didn't think of this sooner but here's a simple way of using a notice in a specific thread.

 
Back
Top Bottom