QuestionQ12

Layout/UI

A new custom module is being built for an existing Adobe Commerce store. A merchant has requested several frontend updates. To support this, a developer must implement a custom style.

Where is the LESS file that is included by default located?

  • A view/{area}/web/css/style.less
  • B view/{area}/web/css/source/main.less
  • C view/{area}/web/css/source/_module.less
Explanation

Adobe Commerce uses _module.less as the conventional file for a module’s general styles. It is located in the area-specific view/{area}/web/css/source/ directory and is included by the standard LESS processing flow.

Learn more

Community Discussion

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