1. Login to your WordPress Admin
  2. From WordPress Admin, click on Appearance -> Menus

    global click appearance menu

  3. From the same window, click on Screen Options from top right corner

    login menu screen options

  4. Check on CSS Classes

    login menu css classes

  5. Expand menu items you want to hide to logged in users and under the CSS Classes (optional) add show-for-guest

    menu hide to logged in users

  6. Click on Save Menu