MyBB Community Forums

Full Version: How to replace category title/description with its own image?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm looking to replace the category title/description with an image. But not just one image for all categories, I would like to give each category its own image. 

Does anyone know how I would go about doing this? I tried googling it but I couldn't find anything about replacing the category name/description with an image. Only threads about category icons.
Use this in the title
<img style="max-width:100%;" src="image_url"> Title hier

Change image_url to the url of your image.
(2016-10-30, 07:55 PM)johnnyvang Wrote: [ -> ]Use this in the title
<img style="max-width:100%;" src="image_url"> Title hier

Change image_url to the url of your image.

That'll change it for every category though.

I don't want Category B to have Category's A's image.
Yes
Use the same code for every category, but only change the image url.
(2016-10-30, 08:35 PM)johnnyvang Wrote: [ -> ]Yes
Use the same code for every category, but only change the image url.

Oh man I apologise. I wasn't reading that correctly. What you suggested works perfectly! I cannot believe I forgot something as simple as putting in an image in the forum name.

(2016-10-30, 08:35 PM)johnnyvang Wrote: [ -> ]Yes
Use the same code for every category, but only change the image url.

I've encountered an issue. While it replaces the category name on the forum listing with a pretty image, it also replaces the category name in the navigation bar and when you're in the category. So there's these two big images where they shouldn't be and it looks pretty unsightly. How can I make it display the category name in text in the navbar/while inside the category instead of just the image that is in the forum listing.