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

I want to add a global stylesheet link... so which template would I put it in?

#1
I want to add a stylesheet link that takes effect through the entire forum. So the code would look like this,
Code:
<xen:require css="my_stylesheet.css" />
But I don't know what template to insert it into ?? Help ? (n)
 

Chris D

XenForo developer
Staff member
#2
PAGE_CONTAINER is your best bet.

One of the few templates that renders everywhere.

An alternative is to put your style changes into EXTRA.css. This template is dedicated for putting whatever you like in there. It won't get overwritten during updates and is usually completely blank to start with.