Quote:
Originally Posted by Yalokin
if else statement was added to skin1/customer/home.tpl
and seems to work fine.
|
Hi,
firstly thanks for the post, i was half way though attempting this... well i say half way i knew i need an {if} statement just wasnt to sure on how to implement it
i have done it now but have 2 small issues
i have placed my code
{if $main and $cat eq '8'}
<link href="{$SkinDir}/main1.css" rel="stylesheet" type="text/css" />
{else}
<link href="{$SkinDir}/main.css" rel="stylesheet" type="text/css" />
{/if}
in home.tpl just after </head> and it seems to be working fine however i just wanted to know is this the correct positon to place the code as when i am using the flyout menus option.... the menus won't align properly, the triangle icon overlaps the catagory text
i have adjusted things in the flyout menus.css and can move the triangle icon around a bit but can not seem to get things to align as they should
i just wondered if anyone else has had the same problem and solved it or any advice incase there is something i have overlooked or maybe the code is not in the correct place in home.tpl (i have tried it in various loacations)
thanks in advance