Add font awesome to tags

Go down

Solved Add font awesome to tags

Post by LucianoMicle on September 17th 2019, 5:27 am

Good people from Forumotion.
I want to ask how to add the font awesome symbols to the tags I have.
I leave a tag as an example to add an alert symbol:
Code:
  var tags = [
    {
      tag: 'RULES',
      background: 'red'
    },

That example is a "RULES" tag of the forum, but I also want to add the symbol ->
I hope you can help me, I leave a greeting.

LucianoMicle.


Last edited by LucianoMicle on September 17th 2019, 11:10 am; edited 1 time in total
LucianoMicle
LucianoMicle
New Member

Posts : 24
Reputation : 1
Language : Spanish / English

http://lucianomicle.foroactivo.com/

Back to top Go down

Solved Re: Add font awesome to tags

Post by pedxz on September 17th 2019, 9:17 am

Hey @LucianoMicle,
You can do like this:
Code:
 var tags = [
    {
      tag: 'RULES',
      background: 'red',
      icon: 'fa-danger'
    },
to help more i needed the code Add font awesome to tags 1f605

Cordially,
pedxz.
pedxz
pedxz
Forumember

Male Posts : 188
Reputation : 35
Language : Português
Location : Forumeiros

https://ajuda.forumeiros.com/u62843

Back to top Go down

Solved Re: Add font awesome to tags

Post by LucianoMicle on September 17th 2019, 9:45 am

Hello @pedxz
It didn't work out.
LucianoMicle
LucianoMicle
New Member

Posts : 24
Reputation : 1
Language : Spanish / English

http://lucianomicle.foroactivo.com/

Back to top Go down

Solved Re: Add font awesome to tags

Post by pedxz on September 17th 2019, 11:00 am

@pedxz wrote:to help more i needed the code Add font awesome to tags 1f605
Hello
pedxz
pedxz
Forumember

Male Posts : 188
Reputation : 35
Language : Português
Location : Forumeiros

https://ajuda.forumeiros.com/u62843

Back to top Go down

Solved Re: Add font awesome to tags

Post by LucianoMicle on September 17th 2019, 11:10 am

Hello, I could solve it. Resolved
LucianoMicle
LucianoMicle
New Member

Posts : 24
Reputation : 1
Language : Spanish / English

http://lucianomicle.foroactivo.com/

Back to top Go down

Solved Re: Add font awesome to tags

Post by skouliki on September 17th 2019, 11:36 am

Problem solved & topic archived.
Please read our forum rules: ESF General Rules
skouliki
skouliki
Manager
Manager

Female Posts : 7675
Reputation : 1060
Language : English,Greek
Location : Greece

http://iconskouliki.forumgreek.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum