View Single Post
  #1  
Old 08-09-2016, 07:02 AM
 
Katsu Katsu is offline
 

eXpert
  
Join Date: Jun 2012
Posts: 349
 

Default Need code help. jQuery banner to home page only.

I installed a third-party jquery banner but it appears on all pages. I need it to appear on the home page only. I believe I need to add an 'if' statement to /light_responsive/customer/home.tpl. The div class should be wrapped with a smarty snippet:
{if $main eq "catalog" and $current_category.category eq ""}

{/if}
I don't know what to code to enter between the {if ...} and {/if} statements.


Any help is much appreciated.
__________________
4.7.7
Light Responsive
Reply With Quote