Replace mobile navigation with category dropdown

AI-generated summary

The discussion revolves around replacing the mobile navigation menu with a category dropdown. danielabc wants to remove the default menu and display all categories on mobile devices, similar to the desktop view. emilio shared an image illustrating the desired outcome.

Lilly mentioned that this topic has been previously discussed in another thread. Lhc_fl shared a solution by implementing this functionality in their “Clean Theme” and provided a GitHub link to the code. However, Dotila_Li noted that the subcategories do not appear in this implementation. danielabc asked Lhc_fl to explain how they made the categories appear on mobile.

On the cell phone, how do I remove the recents, new, best and categories to change for all categories my forum has

Hi daniela,

Do you want to hide this menu?

Can you provide a screenshot so we understand better what you want to hide?

I want to change it to a menu that appears all categories of the forum

Sounds like they want the drop down to be like there is on desktop which has “All Categories”

this has been discussed:

My clean theme implements this functionality. If you want to take it out as a component, please fork my code and delete common.scss

discourse-theme-clean/javascripts/discourse/templates/mobile/components/navigation-bar.hbs at main · Lhcfl/discourse-theme-clean · GitHub

Well done.

But, the subcategories don’t show.

How did you make the categories appear on mobile?