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?
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?
The solution is to add
app/design/frontend/{Vendor}/{Theme}/web/css/source/lib/_navigation.less