ElkArte Community

Elk Development => Feature Discussion => Topic started by: meetdilip on February 02, 2014, 06:22:16 pm

Title: How about allowing to change the board icon independently ?
Post by: meetdilip on February 02, 2014, 06:22:16 pm
Currently in the images folder have only one board icon and a variant of it for showing no new posts. I would be nice to get an option to choose the default board icon. If untouched, the board will have a default icon. Just my suggestion. :)
Title: Re: How about allowing to change the board icon independently ?
Post by: Spuds on February 02, 2014, 08:25:59 pm
Changing the board icons is pretty easy if you are comfortable with changing the CSS. 

TE recently wrote a nice tutorial on how to change the look in a few simple steps http://www.elkarte.net/community/index.php?topic=966.0
Title: Re: How about allowing to change the board icon independently ?
Post by: TE on February 03, 2014, 01:49:00 am
yep, as Spuds already said: it's easy with just a few CSS declarations:

Just hide the old ones (on, on2 and off status) for a specific board:

Code: [Select]
#board_1 .off_board, #board_1 .on_board, #board_1 .on2_board{
 background: none;
}

Then add your favorite new ones:
Code: [Select]
#board_1  .off_board:before {
 font-family: "FontAwesome";
 content: '\f17b';
 position: relative;
 top: 5px;
 font-size: 2.7em;
 color: #aaa;
}
#board_1  .on_board:before {
 font-family: "FontAwesome";
 content: '\f17b';
 position: relative;
 top: 5px;
 font-size: 2.7em;
 color: #66CC33;
}
#board_1  .on2_board:before {
 font-family: "FontAwesome";
 content: '\f17b';
 position: relative;
 top: 5px;
 font-size: 2.7em;
 color: #888;
}
Title: Re: How about allowing to change the board icon independently ?
Post by: meetdilip on February 03, 2014, 07:32:09 am
Thanks for the reply guys. I am always worried when playing with the template or css files (even though I take backup). May be that feature can fit in a mod for ElkArte  O:-)
Title: Re: How about allowing to change the board icon independently ?
Post by: emanuele on February 03, 2014, 01:16:01 pm
Yep, a mod using css was in my mind, not enough time!! :'( lol
Title: Re: How about allowing to change the board icon independently ?
Post by: meetdilip on February 03, 2014, 08:44:02 pm
ElkArte is still in beta phase. So we can always keep it for a stable version :)
Title: Re: How about allowing to change the board icon independently ?
Post by: emanuele on February 04, 2014, 02:45:10 pm
Well, the tools are already there, just hook the two actions (boardindex and messageindex) and output the required css... for the presentation, as usual the most annoying part is create the admin UI (and for that I'd need to fix #1113 (https://github.com/elkarte/Elkarte/issues/1113)...).