damien3000 Posted September 23, 2015 Share Posted September 23, 2015 (edited) hello, as proposed in this topic I was able to customise the header image for the category page, adding <header id="header" {if $smarty.get.id_category} class="cat{$smarty.get.id_category}"{/if}> to header.tpl, and .catxx {background: #000 url(../img/headerxx.jpg) center no-repeat; } to global.css (where xx is the category id). but this displays the right image only for the categories, not for the product page, and the proposed solution only gives me a blank page : <div id="header"{if $smarty.get.id_category OR $product->id_category_default} class="cat{if $smarty.get.id_category}{$smarty.get.id_category}{else}{$product->id_category_default}"{/if}> it may come from the fact that the hack is from 2010, and not working for 1.6. or from the fact that I am missing something... any idea ? thanx ! Edited September 23, 2015 by damien3000 (see edit history) Link to comment Share on other sites More sharing options...
damien3000 Posted September 23, 2015 Author Share Posted September 23, 2015 easy and elegant ! and more important : works perfectly... muchas gracias desde francia, enrique ! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now