Apologies, I’m not referring to the WordPress Toolbar. I’ve marked the dropdown menu in this image to make it more clear what I want to customise/remove.
For example, I’ve removed the “Profile” page, because I just want to have a “my account” page from WooCommerce. This has caused the text in the dropdown menu to disappear when I’m not hovering the mouse over the options in the menu, but when I click in the menu I still go to /profile, etc. which yields a 404 since I’ve removed the page. Therefore, I want to remove the items in that menu.