Mega menu dropdown menu item shows on loading how to hide a dropdown menu item in magento 2 [closed]
-
24-02-2021 - |
Solution
try this way...
<ul style="display:none"></ul>
OTHER TIPS
You can hide it using CSS. Add this in your custom CSS and this will hide the menu during onload event of the body:
ul.dropdown-menu.fullwidth.ui-menu.ui-widget.ui-widget-content.ui-corner-all {
display:none !important;
}
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange