This is a migrated thread and some comments may be shown as answers.

Menu Items with Awesome Icons

2 Answers 230 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Greg
Top achievements
Rank 1
Greg asked on 22 May 2015, 09:18 PM

I haven't found an example of how to display Awesome Icons. What to display cog next to sub menu item "User Maintenance".

 .......
items.Add().Text("Admin")
                                        .Items(c => c.Add().Text("User Maintenance").Action("UserMaintIndex", "UserMaint"))
                                        .SpriteCssClasses("fa fa-cog");

 

Tried above in view but doesn't work.

 

Thanks

2 Answers, 1 is accepted

Sort by
0
Accepted
Alexander Popov
Telerik team
answered on 26 May 2015, 09:05 AM
Hello Greg,

The code you shared looks correct and works as expected on our side (see screenshot). Would you please verify that the Font-Awesome CSS file is included?

Regards,
Alexander Popov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Greg
Top achievements
Rank 1
answered on 28 May 2015, 02:09 PM
Thank you!! I just had to rearrange the location of the reference.
Tags
Menu
Asked by
Greg
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Greg
Top achievements
Rank 1
Share this question
or