News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Board Icons

Started by kconan, May 11, 2015, 02:30:52 PM

Previous topic - Next topic

kconan

  I tried a few of the board icon mods to see if they worked with 2.1, and no success.  So after looking at this thread...http://www.simplemachines.org/community/index.php?topic=530523.0

  ...I get how to change board icons for the whole forum, but how would one be able to use individual "boardicons.png" files for each board?  I found it in the CSS as mentioned in the above thread, but couldn't track down anything related to icons anywhere else.

Kindred

I believe that you would have to modify code , not just css

but here is the CSS....

div.icon span.board_off {
    background-position: 0 -45px;
}
div.icon span {
    background: url("../images/boardicons.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
    display: inline-block;
    height: 45px;
    width: 45px;
}
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: