P Paul B XenForo moderator Staff member May 15, 2016 #2 To hide content from guests using conditional statements, edit the html (not css) templates and wrap the content in number 1 from this guide: https://xenforo.com/community/resources/conditional-statements.1604/ Upvote 0 Downvote
To hide content from guests using conditional statements, edit the html (not css) templates and wrap the content in number 1 from this guide: https://xenforo.com/community/resources/conditional-statements.1604/
P Paul B XenForo moderator Staff member May 16, 2016 #5 Silverhair said: I put the conditional statement in my extra.css stylesheet Click to expand... Conditional statements do not work in CSS templates, hence why I specifically stated 'edit the html (not css) templates'. You can try using the LoggedIn/LoggedOut classes if that makes it easier for you: https://xenforo.com/community/resources/conditional-statements.1604/update?update=13922 Upvote 0 Downvote
Silverhair said: I put the conditional statement in my extra.css stylesheet Click to expand... Conditional statements do not work in CSS templates, hence why I specifically stated 'edit the html (not css) templates'. You can try using the LoggedIn/LoggedOut classes if that makes it easier for you: https://xenforo.com/community/resources/conditional-statements.1604/update?update=13922