Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Sticky Fa Icon
Wolf Offline
Junior Member
**
Posts: 11
Joined: Aug 2017
Post: #1
Sticky Fa Icon
Right I've trying to figure this out for a while and did search for hours around the internet can't find anything! So since my forum display icons are all fa icons, I was wondering how can I make important threads which is forumdisplay sticky to a different icon without showing normal icons?

I've tried doing this..

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


It does work but then it shows my {$folder} icons next to sticky fa icon.

If your confused as to what I'm trying to do.. is this..
https://prnt.sc/gv8kr3

Any help I'd really appreciate it.

(This post was last modified: 12-17-2017 11:27 AM by Wolf.)
12-17-2017 11:26 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #2
RE: Sticky Fa Icon
Using else?

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


12-17-2017 10:35 PM
Find all posts by this user Quote this message in a reply
Wolf Offline
Junior Member
**
Posts: 11
Joined: Aug 2017
Post: #3
RE: Sticky Fa Icon
(12-17-2017 10:35 PM)RateU Wrote:  Using else?

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


Funny thing is I already done that and worked lol -.-
Thanks anyways bro.
12-18-2017 05:15 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: