Hi to all,
I need help about change page width with user fields preference.
I had created new fields in preference. checkbox.
I want to hide banner when field is checked and change page width.
Hide banner is done with template modification and below code
but i have problem with change .pageWidth
I try with same code but not work
Any suggestion?
Thanks a lot.
I need help about change page width with user fields preference.
I had created new fields in preference. checkbox.
I want to hide banner when field is checked and change page width.
Hide banner is done with template modification and below code
Code:
<xen:if is="{$visitor.customFields.hidebanner.on} != 'on' || !{$visitor.user_id}">
<xen:include template="banner" />
</xen:if>
but i have problem with change .pageWidth
I try with same code but not work
Code:
<xen:if is="{$visitor.customFields.hidebanner.on} != 'on' || !{$visitor.user_id}">
.pageWidth
{
padding-left: 5px;
}
</xen:if>
<xen:if is="{$visitor.customFields.hidebanner.on} == 'on'">
.pageWidth
{
padding-left: 30px;
}
</xen:if>
Any suggestion?
Thanks a lot.