-
AuthorPosts
-
July 10, 2017 at 3:34 pm #1047320
Hi Support,
How do i insert own icon image under Megamenu configuration >> item configuration >> icon to have my own image displayed instead of using those from ionic icons or font awesome?
Please advice.
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
July 11, 2017 at 1:44 am #1047456Hi
Megamenu does not have option to add image.
HiTo change font-awesome icons with your icon you should change css file
You can override the fontawesome icon code in custom.css
Example :
.fa-bookmark:before { content: "f02e"; }
change it to :
.fa-bookmark:before { content: url("/images/ico/dep-test.png");
Hope it helps.
Regards
July 11, 2017 at 4:45 am #1047513This reply has been marked as private.Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
July 11, 2017 at 5:12 am #1047519Hi
For example, you added icon http://fontawesome.io/icon/home/
in the menu from font-awesome
fa fa-home
Add this code in custom.css
.fa-home:before { content: url("/images/ico/dep-test.png"); }
change the /images/ico/dep-test.png path with your image path.
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 3 replies, has 2 voices, and was last updated by Pankaj Sharma 7 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Inserting/uploading own icon image for template – instead of using font awesome
Viewing 4 posts - 1 through 4 (of 4 total)