I am trying to suss the shop area. On the main shop page the menu items are displaying and wonder how i can remove them?
I can see this is the <div class=”sub-menu”> from the woocommerce stylesheet so i could add display:none; but this seems rather brutal and i’m assuming there is another method to not displaying all menu items at the top of this page.
Curiously in your Flashlight demo <sub-menu> only the items pertinent to the ‘shop’ display like login, checkout etc!!!!
You are actually correct that the best way to remove the sub-menu is with a display: none. The sub-menu is added in with relevant shop menu items as a way to conveniently offer those items when they are needed (ie on the shop pages only). You can add your own menu here through the Menus manager or remove it from display with css.
Viewing 2 posts - 1 through 2 (of 2 total)
The topic ‘How to remove menu items from the top of shop content area?’ is closed to new replies.