Question

I need to override a less file in /lib/web/css/source/lib/ because _navigation.less contains a mixin .lib-main-navigation-desktop() which use some !important rules that brooke the submenu positioning.

What is the "right" way to do it?

Was it helpful?

Solution

The solution is to add

app/design/frontend/{Vendor}/{Theme}/web/css/source/lib/_navigation.less
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top