Archived topic
How to Add Category Toggle Menu like in Seller?
11 replies · Started by wonzilla on November 23, 2018
How can I add the toggle menu (as it appears in the Seller demo with T-Shirts, Hoodies etc) for product categories without any page builder? Also, I need to know how to add the toggle in the front page just above one of the sections that I created. Thank you!
Hi there,
Sorry are you referring to mobile?
It's a secondary navigation set to below header:
https://docs.generatepress.com/article/secondary-navigation-location/
Let me know if this helps :)
Hi Leo,
Um, no, I was referring to the categories that appear in the desktop version. See the image below:
Also, can you please tell me how can I add the navigation found in Volume demo? I'm talking about the custom navigation at the end of the post:
That's not a toggle. It's simply a secondary navigation consisting categories as I mentioned above.
There aren't any built-in features for toggle unfortunately.
Can you open another topic for the Volumn question? I'll get the site author to answer that.
Thanks!
Hi Leo,
Thank you for the reply! But how can I add the secondary navigation to show products from different categories without leaving the page? I really need to add this navigation like in Seller and this was the main reason why I've chosen GeneratePress. Isn't that possible with code at least?
Once you have WooCommerce activated, there should be a Product categories tab on the left panel in Wordpress menus:
https://www.screencast.com/t/ZK7lmcYdU
Sorry but this is not what I wanted to know. I added the product categories in the menu but when I click on the subcategory, it doesn't show products on the SAME page as they appear in the Seller demo.
Actually the category menu in Seller is using the primary navigation set to below header.
I'm not sure what you mean about loading on the same page? When you click a menu item, you can see the URL change so it's loading a different page.
Can you link me to the page in question?
If I add a menu with product categories, it sends me to the category page instead of showing products from different categories on the current page. See the gif below to get what I mean - this is the menu that I'm trying to add:
I understand. It's just loading really fast which makes it appear to be a toggle. But if you look at the URL, it's actually changing.
I built this site as well and it's using nothing more than the secondary navigation:
https://gpsites.co/target/shop/
Any chance you can link me to the actual page in question?
Ah, ok, I thought that's something else. Now I see it's actually a simple navigation menu. Thank you anyways :-)
Glad I could help :)