Jump to content

different header images for different category


Recommended Posts

Hi Buddies, 

 

 Ok this is my requirement: I need to post different header images on different category so luckily i came across this forum topic 

 

https://www.prestashop.com/forums/topic/41013-solved-how-to-use-different-headers-according-to-sub-category-in-the-product-page/page-2

 

Because I have called the image using a css I tried the css smarty code, of it. So I could pull in different images in the category pages. :) But my bad luck the default image for home or index page don't seem to show.

 

So basically I need to change the code to a if else condition like if its the index page or cat without an image then it should call the default image rest as per the cat-id.

 

any help would be appreciated. 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...