Moddis
Active member
This always shows the latter of the two whether i log in as a user or just a guest:
<xen:if is="{$visitor.user_id}">
.myStyle {
margin: 23px 17px 0 0;
}
<xen:else />
.myStyle {
margin: 14px 17px 0 0;
}
</xen:if>
Also, if I use something like the following, it also shows for logged in and not logged in users:
<xen:if is="{$visitor.user_id}">
.myStyle {
margin: 23px 17px 0 0;
}
</xen:if>
BTW, doing this is EXTRA.css
<xen:if is="{$visitor.user_id}">
.myStyle {
margin: 23px 17px 0 0;
}
<xen:else />
.myStyle {
margin: 14px 17px 0 0;
}
</xen:if>
Also, if I use something like the following, it also shows for logged in and not logged in users:
<xen:if is="{$visitor.user_id}">
.myStyle {
margin: 23px 17px 0 0;
}
</xen:if>
BTW, doing this is EXTRA.css