3

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?

3

The solution is to add

app/design/frontend/{Vendor}/{Theme}/web/css/source/lib/_navigation.less

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.