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

Add new CSS template

Discussion in 'XenForo Questions and Support' started by Sean James, May 19, 2011.

  1. Sean James

    Sean James Well-Known Member

    I want to add a new CSS template called extra2.css

    Do I now need to edit the PAGE_CONTAINER template and add the template name to:

    <link rel="stylesheet" type="text/css" href="css.php?css=xenforo,form,public&amp;style={xen:urlencode $_styleId}&amp;d={$visitorStyle.last_modified_date}" />

    Or will XenForo automatically detect this new template?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You will need to include the template using, e.g. <xen:require css="cta.css" />
    Griffin likes this.
  3. Sean James

    Sean James Well-Known Member

    Awesome thanks mate works a treat ;)

Share This Page