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

Template for CSS

Michael

Active member
#1
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?

Cheers!
 

Jake Bunce

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

Code:
<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?