Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Mega menu shows on loading in frontend magento 2 i want to hide on loading
try this way...
You can hide it using CSS. Add this in your custom CSS and this will hide the menu during onload event of the body: