QuestionQ21

Adobe Experience Manager Sites

An Adobe Commerce developer wants to override the core Magento UI library dropdowns in their theme.

What is the correct way to accomplish this?

Explanation

Magento UI library source files, including _dropdowns.less, are stored in lib/web/css/source/lib. A theme overrides a UI library file by placing the corresponding file under its own web/css/source/lib directory, so the override path is /web/css/source/lib/_dropdowns.less.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!