Mobile Menu subcategories not working

Hi guys. To start with, I’m a total WordPress newbie. I’ve created my first website using Astra template and everything is fine on desktop. My Menu has some custom links with subcategories. However, when I go to my website on mobile, every single subcategory is dropped in the menu like a separate menu page. So, in theory, my mobile menu should have a couple of custom links with hidden subcategories, but instead of that when I click on the menu I see all pages and all subcategories. So, instead of 5 menu buttons there are 13 menu buttons on mobile.

Any advice on how to fix this?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer