LordsKing Active member Jun 5, 2014 #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
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
P Paul B XenForo moderator Staff member Jun 5, 2014 #2 Conditional statements don't work in EXTRA.css. You will need to edit the template instead. Upvote 0 Downvote
LordsKing Active member Jun 7, 2014 #3 Ok thanks, and is it possible to insert Conditional statements in the next version of XenForo ? Upvote 0 Downvote
Mike XenForo developer Staff member Jun 7, 2014 #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. Upvote 0 Downvote
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.