exlhost Posted October 20, 2017 Share Posted October 20, 2017 Dear Community Can someone please tell me wich files to edit and wich css code needs to be used to place the same or any new home-banner on more pages then just the index (home page) Thanks in advance Link to comment Share on other sites More sharing options...
exlhost Posted October 20, 2017 Author Share Posted October 20, 2017 Already found how to add another banner (image) added this to header.tpl and the location to image in custom.css <div class="headernew"> <div class="container"> </div> the problem is now it show on all pages, but it should not be visible on the hompage Were to place this code, or hide it from hompage? Please any help Link to comment Share on other sites More sharing options...
brian! Posted October 20, 2017 Share Posted October 20, 2017 3 hours ago, Wallgrind said: Were to place this code, or hide it from hompage? wrap it in an {if} statement in header.tpl, e.g {if $templatefile neq 'homepage' and $templatefile neq 'clientareahome'} <img src="https://www.whmcs.com/images/logowhite.png"> {/if} so this would display the WHMCS logo on every page, apart from homepage (general homepage) and clientareahome (logged in client area homepage)... in your case, just put your <div> code inside the {if} block and it will only appear under the conditions defined in the IF statement. 1 Link to comment Share on other sites More sharing options...
exlhost Posted October 20, 2017 Author Share Posted October 20, 2017 Thanks in advance works like a charm Link to comment Share on other sites More sharing options...
Recommended Posts