-
AuthorPosts
-
June 28, 2016 at 8:22 pm #945101
Hi,
In the main menu, I would like to show a home icon instead of the words "Home". Is there a way I can do this in the JA Nuevo template?
Many thanks, Hector
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 29, 2016 at 4:23 am #945219Hi
First you need to add the font awesome icon for Home in the Mega menu .
And custom class icon-home in the mega menu for this menu item .The add nav-icon class in the Home menu options Here : http://prntscr.com/bmfcy4
Then add below code in custom.css file.navbar-default .navbar-nav > .item-home { text-indent: -9999em; } .navbar-default .navbar-nav > .item-home [class^="icon-"]{ text-indent: 0; position: absolute; left: 15px; top: 10px; line-height: 65px; font-size: 18px; margin: 0; }
Hope it helps .
June 29, 2016 at 6:56 pm #945540Thank you Pankaj.
The icon is showing now, but the words are still there. What am I missing?
Best,
HectorPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
June 30, 2016 at 1:19 am #945586Hi
Please check you have added all the code and custom classes in Mega menu and in the Home menu .
This will work .July 1, 2016 at 5:14 pm #946127Hi Pankaj,
Sorry, I have tried several times but I am still stuck.
I added the font awesome icon for Home in the Mega menu (fa fa-home). (see screenshot 1)
Then added the nav-icon class in the Home menu options (see screenshot 2)
and added the code in custom.css file (see screenshot 3)
You wrote to me: "And custom class icon-home in the mega menu for this menu item" but I donĀ“t understand what you mean. You mean the extra class field? If I add it there, it places another home icon but above the main menu.
Can you please clarify / advise?
Many thanks,
Hector- Pankaj Sharma Moderator
Pankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
July 2, 2016 at 3:03 am #946210Hi
kindly send me your site super user details via Private reply , i will check and fix it for you .AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 5 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum