XF 1.2 So for registered user's, we can use this class .LoggedIn how about guest?

M

Manoj_Kumar

Guest
Instead of CSS, You can wrap your code inside

Code:
<xen:if is="!{$visitor.user_id}">
Guest content goes here
</xen:if>
 
M

Manoj_Kumar

Guest
Yeah it won't work in stylesheet, instead try it on template files.
 

rdn

Well-known member
OK, this one works :)
Code:
.whatever { for guests; }
.LoggedIn .whatever { for registered users; }
 
Top