Template for CSS


Active member
Which is the best template to add your own CSS, say for example you want it to always be loaded on every page, similar to the vb additional CSS, I tried adding it to xenforo.css but seemingly it never worked on the index for me.

Where do you add yours?


Jake Bunce

XenForo moderator
Staff member
xenforo.css should be included on every page via this code in PAGE_CONTAINER:

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


Active member
Just tried again, yes it is working, I was using incorrect CSS that I had backed up before converting :oops: