-
AuthorPosts
-
June 19, 2016 at 7:18 pm #650460
Hello, I would like to hide the ‘Home’ menu item on my frontpage. How can I do this?
June 19, 2016 at 9:27 pm #650495Hey troupdim,
Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
.av-main-nav > li:first-child { display:none; }If the above does not work for you would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)
Best regards,
VinayJune 19, 2016 at 10:59 pm #650517Unfortunately, this code not work.I dont provide a a precise link to my site because I’m using localhost.
Can I use othe code for solving this problem?
June 19, 2016 at 11:13 pm #650519Hi,
Use the below css
#avia-menu > li:first-child { display:none; }If the above don’t work right click the menu item and inspect it view the ID in the li tag it should be something like “menu-item-230”. In the below example replace the menu id with yours.
.home #menu-item-230 { display:none; }If that don’t work then we cannot help you at this point please get back to us when you have the site up we need to be able to inspect the element to help.
Best regards,
VinayJune 20, 2016 at 12:03 am #650534Not working. I fully realize that you cannot help at this point, but I would like to solve this problem before uploading.
I want to hide Double Home Page Link. In particular, there are two pages with same content.
June 20, 2016 at 12:42 am #650540Another way is remove this code: <li class=’current-menu-item’>Home from index.
But I cant find the specific path of this file on my local host.
June 20, 2016 at 8:12 pm #651065Hi,
Please go to Appearance > Menus and create a new menu without home menu item and check “Enfold main menu” under Menu Settings.
Best regards,
YigitJune 21, 2016 at 1:18 am #651160Thanks a lot. It’s done!
-
AuthorPosts
- The topic ‘Hiding the 'Home' menu item’ is closed to new replies.
