XF 1.4 How to add css to a specific page

Jake B.

Well-known member
No really easy way to do it without an addon, but you could have something like

<xen:if is="{$user.user_id} == X">
     <xen:require css="stylesheet.css" />
I'll see if I can find an add-on that will do this in a better manner though.

Also, of course you'll need to create the stylesheet as well. And change "X" to your user id.