Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #650460

    Hello, I would like to hide the ‘Home’ menu item on my frontpage. How can I do this?

    #650495

    Hey 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,
    Vinay

    #650517

    Unfortunately, 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?

    #650519

    Hi,

    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,
    Vinay

    #650534

    Not 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.

    #650540

    Another 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.

    #651065

    Hi,

    Please go to Appearance > Menus and create a new menu without home menu item and check “Enfold main menu” under Menu Settings.

    Best regards,
    Yigit

    #651160

    Thanks a lot. It’s done!

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Hiding the 'Home' menu item’ is closed to new replies.