Image header depending on the category/tab

This is pretty cool …

The way they do it is by adding CSS to their site.

They tie the image to the body as a background image.

They use this css as base
https://hairxhub.com/hair-talk-forum-css/style.css

Then they add custom CSS for each of their categories to display a different image..
(or in CSS terms)

body.category-hairstyles { background-image: url(/some-image.jpg); }

So if you’re comfortable with CSS, you can hack this on your own :wink:

4 个赞