Thanks. The thing is that i only want to implement that on category pages, so the image is being added through the category setting:
Product categories > “Custom page heading image for this category”
So I don’t think that will work.
Credentilas sent