Template for CSS

Michael

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?

Cheers!
 

Jake Bunce

XenForo moderator
Staff member
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?
 

Michael

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