exlhost Posted October 20, 2017 Share Posted October 20, 2017 Dear community Ive added another banner (image) under the main menu added this to header.tpl and the location from the image in custom.css <div class="newheader"> <div class="container"> </div> </div> The problem is now it shows the banner image on all pages, but it should not be visible on the hompage Were to place this code, or how to hide it from hompage? 1 Quote Link to comment Share on other sites More sharing options...
cdeese8 Posted October 27, 2017 Share Posted October 27, 2017 Try this: Quote {if $templatefile == 'homepage'} {else} <div class="newheader"> <div class="container"> </div> </div> {/if} 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 27, 2017 Share Posted October 27, 2017 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.