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

XF 1.3 Conditional in template EXTRA.css

LordsKing

Active member
#1
Hello,

I would to add some conditionals in the template EXTRA.css, but my conditionnal (visitor is staff) doesn't work :(
I need to do that because it's for create an add-on, if no possibility to do that, please tell me how to do :)
 

Mike

XenForo developer
Staff member
#4
CSS is not based on any user conditionals. You should conditionally add the class/HTML that should be applied but the CSS is always available.