Hi,
I want to use my them's different colors for men and women.
For example, if my visitor is female, she must see my them's pink type and if my visitor is male, he must see my theme's blue type.
I try this code for node_category_level_1;
I find this;
<div class="nodeInfo categoryNodeInfo categoryStrip" >
And change with this;
<xen:if is="{$visitor.gender} == 'male'">
<div class="nodeInfo categoryNodeInfo categoryStrip" >
<xen:elseif is="{$visitor.gender} == 'female'" />
<div class="nodeInfo categoryNodeInfo categoryStrip2" >
<xen:elseif is="{$visitor.gender} == ''" />
<div class="nodeInfo categoryNodeInfo categoryStrip" >
</xen:if>
But in public.css this code doesnt work;
I find this;
<xen:include template="navigation.css" />
And change with this;
<xen:if is="{$visitor.gender} == 'male'">
<xen:include template="navigation.css" />
<xen:elseif is="{$visitor.gender} == 'female'" />
<xen:include template="navigation2.css" />
<xen:elseif is="{$visitor.gender} == ''" />
<xen:include template="navigation.css" />
</xen:if>
Is there anyone who will help me ?
Thanks.
I want to use my them's different colors for men and women.
For example, if my visitor is female, she must see my them's pink type and if my visitor is male, he must see my theme's blue type.
I try this code for node_category_level_1;
I find this;
<div class="nodeInfo categoryNodeInfo categoryStrip" >
And change with this;
<xen:if is="{$visitor.gender} == 'male'">
<div class="nodeInfo categoryNodeInfo categoryStrip" >
<xen:elseif is="{$visitor.gender} == 'female'" />
<div class="nodeInfo categoryNodeInfo categoryStrip2" >
<xen:elseif is="{$visitor.gender} == ''" />
<div class="nodeInfo categoryNodeInfo categoryStrip" >
</xen:if>
But in public.css this code doesnt work;
I find this;
<xen:include template="navigation.css" />
And change with this;
<xen:if is="{$visitor.gender} == 'male'">
<xen:include template="navigation.css" />
<xen:elseif is="{$visitor.gender} == 'female'" />
<xen:include template="navigation2.css" />
<xen:elseif is="{$visitor.gender} == ''" />
<xen:include template="navigation.css" />
</xen:if>
Is there anyone who will help me ?
Thanks.