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-E720 Exam - Topic 1 Question 1 Discussion

Actual exam question for Adobe's AD0-E720 exam
Question #: 1
Topic #: 1
[All AD0-E720 Questions]

An Adobe Commerce developer is extending a theme from Magento\blank and wants to override parent styles. Which file does the developer need to change to override the parent theme styles?

Show Suggested Answer Hide Answer
Suggested Answer: B

To override the parent theme styles, the developer needs to change the web/css/source/_extend.less file in the child theme. This file is used to import and extend the parent theme styles without modifying the original files. The developer can use the @import directive to import the parent theme styles and then use the .lib-css() mixin to override the CSS properties. For example:

@import 'source/_extend.less'; // Import parent theme styles .lib-css(color, red); // Override color property

The web/css/source/_extends.less and web/css/source/_theme.less files are not valid and will not work, as they do not follow the theme structure or the naming convention. Reference: [Theme inheritance], [Extend parent theme styles]


Contribute your Thoughts:

0/2000 characters
Dahlia
3 months ago
B sounds wrong, I agree with A being the correct choice.
upvoted 0 times
...
Stephanie
3 months ago
Wait, is it really A? I always get confused with these files.
upvoted 0 times
...
Tenesha
4 months ago
A makes sense, I've used it before!
upvoted 0 times
...
Ryann
4 months ago
I thought it was B? Seems like a common mistake.
upvoted 0 times
...
Dong
4 months ago
It's definitely A, that's the right file for overriding styles.
upvoted 0 times
...
Flo
4 months ago
I remember something about needing to use the right syntax for LESS files, but I can't recall which one is specifically for overriding.
upvoted 0 times
...
Genevieve
4 months ago
I'm not entirely sure, but I feel like _theme.less is more for theming rather than overriding styles.
upvoted 0 times
...
Buck
5 months ago
I practiced a similar question last week, and I believe the correct file is _extends.less.
upvoted 0 times
...
Ashlyn
5 months ago
I think it's definitely one of the _extend files, but I can't remember if it's _extends.less or _extend.less.
upvoted 0 times
...
Jovita
5 months ago
This seems straightforward to me. The question is specifically about overriding parent theme styles, so the file we need to change is web/css/source/_extends.less. That's where we can extend and override the parent theme's styles.
upvoted 0 times
...
James
5 months ago
I'm a little confused by the difference between _extends.less and _extend.less. I'll have to review my notes on how to properly override parent theme styles in Magento. Maybe I can eliminate one of the options and make an educated guess.
upvoted 0 times
...
Bettina
5 months ago
Okay, I think I've got this. The question is asking about overriding parent theme styles, so we need to look at the files that deal with extending and inheriting styles. Based on that, I'm going to go with option A, web/css/source/_extends.less.
upvoted 0 times
...
Gabriele
5 months ago
Hmm, I'm a bit unsure about this one. I know we need to override the parent theme styles, but I can't remember if it's _extends.less or _extend.less. I'll have to think this through carefully.
upvoted 0 times
...
Elvis
5 months ago
I'm pretty confident this is option A. The question specifically mentions overriding parent theme styles, and the _extends.less file is where you would do that.
upvoted 0 times
...
Mammie
5 months ago
I've got this! Top-ten viruses, top-ten infected users, and total number of non-cleanable viruses found. Those are the three that are clearly focused on the statistical reporting aspect of Server Protect.
upvoted 0 times
...
Kristian
5 months ago
My strategy: Look for the most immediate protective action that doesn't compromise the investigation. Freezing funds does that perfectly without premature escalation.
upvoted 0 times
...
Christa
5 months ago
The key seems to be whether the services can be resold by channels. I'm leaning towards option D as the correct answer, but I want to make sure I'm not missing anything.
upvoted 0 times
...
Georgiana
5 months ago
This seems pretty straightforward. I think uploading the public SSH key to the project metadata would be the most efficient way to ensure it works on every instance.
upvoted 0 times
...

Save Cancel