Advertisement:

Author Topic: Board Icons  (Read 1711 times)

Offline kconan

  • Newbie
  • *
  • Posts: 6
Board Icons
« on: May 11, 2015, 02:30:52 PM »
  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.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 59,516
  • Gender: Male
    • Kindred-999 on GitHub
Re: Board Icons
« Reply #1 on: May 11, 2015, 02:44:38 PM »
I believe that you would have to modify code , not just css

but here is the CSS....
Code: [Select]
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;
}
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."