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

XF 1.4 How to add css to a specific page

Discussion in 'Styling and Customization Questions' started by Estudio801, Sep 7, 2014.

  1. Estudio801

    Estudio801 New Member

    I would like to add a background to my profile (only) on my Xenforo, but how?
  2. Jake B.

    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.

Share This Page