Deal of The Day! 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

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?
B) view/{area}/web/css/source/main less
C) view/{area}/web/css/source/_module.less
A) view/{area}/web/css/style less

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
Bette
25 days ago
Agreed! It's the default location for frontend updates.
upvoted 0 times
...
Fannie
1 month ago
I feel confident about that. Custom styles go there.
upvoted 0 times
...
Georgeanna
1 month ago
Yeah, it should be under app/design/frontend/[Vendor]/[Theme]/web/css/source.
upvoted 0 times
...
Whitley
3 months ago
I think the less file is usually in the theme directory.
upvoted 0 times
...
Renea
3 months ago
I’ve seen it in various places, but that’s the common spot!
upvoted 0 times
...
Martin
3 months ago
Wait, are you sure it’s not in a different location for custom modules?
upvoted 0 times
...
Eladia
3 months ago
Totally agree, it’s in the custom theme’s directory!
upvoted 0 times
...
Elsa
3 months ago
I thought it was in the base theme folder?
upvoted 0 times
...
Miriam
4 months ago
It's usually found in app/design/frontend/[Vendor]/[Theme]/web/css/source.
upvoted 0 times
...
Dana
4 months ago
app/design/frontend/[Vendor]/[Theme]/web/css/source is the location for the less file. Easy peasy!
upvoted 0 times
...
Denny
4 months ago
The less file is definitely in the app/design/frontend/[Vendor]/[Theme]/web/css/source directory. I've worked with this before.
upvoted 0 times
...
Anissa
4 months ago
I think the less file should be in the app/design/frontend/[Vendor]/[Theme]/web/css/source directory. That's where I usually find it.
upvoted 0 times
...
Lasandra
4 months ago
The less file should be located in the app/design/frontend/[Vendor]/[Theme]/web/css/source directory.
upvoted 0 times
...
Luisa
4 months ago
I remember something about the default being in the base theme, but I can't quite place the exact location. It could be in app/design/frontend/Magento/blank/web/css/source?
upvoted 0 times
...
Chaya
5 months ago
I practiced a similar question, and I believe the LESS files are linked to the theme's web folder. Just not sure about the specifics.
upvoted 0 times
...
Laurene
5 months 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
6 months 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
6 months 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
6 months 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
6 months ago
Okay, I think I know the answer. It's probably in the module's view directory, right?
upvoted 0 times
...
Bonita
6 months 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
6 months 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
Edna
9 days ago
Don't forget to look for any overrides in the theme as well!
upvoted 0 times
...
Mitsue
15 days ago
Yeah, that sounds right. You can also check `view/frontend/web/css`.
upvoted 0 times
...
Mayra
20 days ago
I think it's usually in the `web/css/source` directory.
upvoted 0 times
...
...

Save Cancel