R rdn Well-known member Licensed customer Jan 16, 2014 #1 Is there any guest specific class that we can use?
M Manoj_Kumar Guest Jan 16, 2014 #2 Instead of CSS, You can wrap your code inside Code: <xen:if is="!{$visitor.user_id}"> Guest content goes here </xen:if> Upvote 0 Downvote
Instead of CSS, You can wrap your code inside Code: <xen:if is="!{$visitor.user_id}"> Guest content goes here </xen:if>
R rdn Well-known member Licensed customer Jan 16, 2014 #3 Will this one work's on EXTRA.css? Upvote 0 Downvote
R rdn Well-known member Licensed customer Jan 16, 2014 #4 It didn't work on EXTRA.css Upvote 0 Downvote
M Manoj_Kumar Guest Jan 16, 2014 #5 Yeah it won't work in stylesheet, instead try it on template files. Upvote 0 Downvote
P Paul B XenForo moderator Staff member Licensed customer Jan 16, 2014 #6 Just do it like this: Code: .myClass { <guests> } .LoggedIn .myClass { <logged in> } Upvote 0 Downvote
R rdn Well-known member Licensed customer Jan 16, 2014 #7 OK, this one works Code: .whatever { for guests; } .LoggedIn .whatever { for registered users; } Upvote 0 Downvote