Jump to content

Change class depending on product category?


Recommended Posts

Hi everyone,

Is it possible to change a class depending on which product category is shown in the product list? For example, i have a category "necklaces" and a category "earrings" and I'd like the H2 product list title to have a different background on each page, so that if someone is viewing a product list showing earrings, a background with earrings on it is displayed and the same for other categories.

See the attached image...

Anyone who can help?

33732_WQt40YjpFlAncjiPGNAT_t

Link to comment
Share on other sites

×
×
  • Create New...