New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe AD0-E717 Exam - Topic 3 Question 57 Discussion

Actual exam question for Adobe's AD0-E717 exam
Question #: 57
Topic #: 3
[All AD0-E717 Questions]

A new custom module is built for the existing Adobe Commerce store. A merchant has requested a few frontend updates. For this, a developer has to implement a custom style.

What is the location of the less file that will be included by default?

Show Suggested Answer Hide Answer
Suggested Answer: B

The view/{area}/web/css/source/main.less file is the default less file that is included by default. This file contains the main styles for the module.

In a custom module in Adobe Commerce, the default location for including custom LESS styles is typically view/{area}/web/css/source/_module.less. However, the most commonly used file for adding global styles is view/{area}/web/css/source/_extend.less. The view/{area}/web/css/style.less file is not standard, and the main.less file is used as an entry point for compilation but typically does not contain custom styles directly.


Contribute your Thoughts:

0/2000 characters
Laurene
6 days ago
If I recall correctly, it might be in app/design/frontend/[Vendor]/[Theme]/web/css/source. That sounds right, but I need to double-check.
upvoted 0 times
...
Jean
11 days ago
I think the default LESS file is usually located in the theme directory, but I can't remember the exact path.
upvoted 0 times
...
Edgar
16 days ago
No problem, I've done this before. The less file will be in the module's view/frontend/web/css directory.
upvoted 0 times
...
Tula
21 days ago
I'm a little confused on the specifics here. I'll need to review the Magento documentation to refresh my memory.
upvoted 0 times
...
Loreen
26 days ago
Okay, I think I know the answer. It's probably in the module's view directory, right?
upvoted 0 times
...
Bonita
1 month ago
I'm a bit unsure about this one. Where exactly would the less file be located in the module structure?
upvoted 0 times
...
Elena
1 month ago
Hmm, this seems straightforward. I'd start by checking the module's structure and looking for the default less file location.
upvoted 0 times
...

Save Cancel