orhan
Moderator
- Joined
- Dec 5, 2018
- Messages
- 466
- Reaction score
- 96
- Points
- 28
Font icon eklemeyi bilmiyorsaniz bu konuyu okuyun
BoardIndex.template.php
Bul
değiştir
index.css ye ekleyin(Bu bir ornektir siz kendi ikonunuzu ekleyin)
Peki her katagoriye ayri ikon nasil ekleriz?
katagorimizin id sini not edelim örnek
BoardIndex.template.php
Bul
Code:
<a href="', ($context['user']['is_guest'] ? $board['href'] : $scripturl . '?action=unread;board=' . $board['id'] . '.0;children'), '" class="board_', $board['board_class'], '"', !empty($board['board_tooltip']) ? ' title="' . $board['board_tooltip'] . '"' : '', '></a>';
değiştir
Code:
<a href="', ($context['user']['is_guest'] ? $board['href'] : $scripturl . '?action=unread;board=' . $board['id'] . '.0;children'), '"', !empty($board['board_tooltip']) ? ' title="' . $board['board_tooltip'] . '"' : '', '><span class="nodeIcon new"><i class="fa fa-board_', $board['board_class'], ' fa-2x"></i></span></a>';
index.css ye ekleyin(Bu bir ornektir siz kendi ikonunuzu ekleyin)
Code:
.fa-comment:before,
.fa-board_off:before {
content: "\f075"; }
.fa-comment-alt:before,
.fa-board_on:before {
content: "\f086"; }
Peki her katagoriye ayri ikon nasil ekleriz?
katagorimizin id sini not edelim örnek
Code:
#board_1 .nodeIcon .fa:before { content:"\f51e";}