Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Sticky Threads Fa Icon
If you're using thread icons as Fa icons and wondering how to set Important Threads with sticky fa icon like xenforo this is how you would want to do it.

Edit: Template Conditionals plugin needs to be installed for this.

Forumdisplay Template > Forumdisplay_Thread

<span class="{$folder}" title="{$folder_label}">&nbsp;</span>

Replace With:
<if $thread['sticky'] then>
<i class="fa fa-thumb-tack sticky-icon" aria-hidden="true"></i>
<span class="{$folder}" title="{$folder_label}">&nbsp;</span>

Now go to global.css and add
.sticky-icon {
    color: orange;

You're free to change the color to whatever you like.
Thank you, looks great! More tutorials are welcomed Smile
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
thanks for tutorial , if you don't mind it would be great if you post preview image to first post

Forum Jump:

Users browsing this thread: 1 Guest(s)