10 years ago
4
Topic

Hi Guys,

I need your help to show me that how can I add an icon or image to the first of my fields.
For example I'm presenting the Hotels in my site and need to add icons to each field which is showing the hotel features by graphic.

you can see in the picture I need to add icon or image to any field.
Thank you in advance to show me the best solution to do this.

Get a Book for SEBLOD
4229 Posts
Kadministrator
10 years ago
0
Level 1

Probably easiest way is to put html typography on the field like

*typo*<span class=my_icon_class><span>

If your tempalte is using boostrap then you can use any ico class available in boostrap

10 years ago
2
Level 1

Thanks for your help, but after following your instruction the icon is not appearing in field.

Forms > content view > Field Typography > HTML > Type Code ( then put your provided code )
and yes i'm using the joomla 3 with bootstrap. i tried many ways but it didn't work.

Would you check if I'm doing it in wrong way or not.

Regards

10 years ago
1
Level 2
10 years ago
0
Level 3

Hello Zargox,

I think you wrote

<span class=my_icon_class></span>

instead of 

*value*<span class=my_icon_class></span>

Let's try again, is should work.

István

Get a VIP membership