Custom header image for categories
I have a question regarding the header image. I've been trying all weekend but I can't figure out how to do it. I hope you can help. The website I'm making is visible on [Links visible only for registered users].
When you check the category 'parts & supplies' ([Links visible only for registered users]), it shows a category. This page shows the standard header image that I set in the options. I would like to 'overwrite' this per category so that I can set a different header image per category.
I have seen in the code that every page has a different body class, so I should be able to use this to change the image via css? Do you have a clue what I have to put in my custom css to get this to work?
Thanks in advance,
Comments
.term-parts-and-supplies body:not(.template-slider) #Header_wrapper {
Change the image url,background-image: url([Links visible only for registered users]); }
thanks
body.category-late-night-miami #Header_wrapper {background-image: url(/wp-content/uploads/2017/07/20170725_dm_default_header.png) !important;
}