MyBB Community Forums
Change forum icons - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Change forum icons (/thread-225345.html)



Change forum icons - dennismsmith - 2019-11-17

Hey everyone, I am sure this has been answered, but I can't find it. I am new to MyBB forums and looking for a way to change the sub-forum icons that are added automatically. Can someone point me to a tutorial of some kind?


RE: Change forum icons - [ExiTuS] - 2019-11-17

Subforum icons are consolidated in a sprite image - so each icon is just part of one single image file.
See: ./images/mini_status_sprite.png

If you want to change these icons, just edit this file and create your own icons.

To further break into subforum icons and styling:
CSS is used to set the icon as a background image as well as positioning the single icon from the sprite image.
To break into CSS for this sprite image, have a look at the following CSS definition in global.css:
.subforumicon
.subforum_mini...
and you'll see the background-image and the background-positions set for each of subforum icons.

[ExiTuS]


RE: Change forum icons - dennismsmith - 2019-11-20

Thanks for the reply....So if I understand you all sub-forum icons are part of one png file? With that being said I don't really want to change the icon set, I just want to be able to choose what icon shows up for a particular subforum.

If you explained how to do that, I apologize...I am not understanding....again new to mybb forums.


RE: Change forum icons - WallBB - 2019-11-20

Old tutorial but it will work
https://community.mybb.com/thread-160518-post-1107253.html#pid1107253

Regards
WallBB