ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 26 - AD0-E720 discussion

Report
Export

an Adobe commerce developer wants to override the core Magento Ul library dropdowns in your theme. Which is the correct way to achieve this?

A.
/web/css/source/_dropdowns.less
Answers
A.
/web/css/source/_dropdowns.less
B.
lib/web/css/source/.dropdowns.less
Answers
B.
lib/web/css/source/.dropdowns.less
C.
/web/css/source/lib/.dropdowns.less
Answers
C.
/web/css/source/lib/.dropdowns.less
Suggested answer: A

Explanation:

To override the core Magento UI library dropdowns in a custom theme, the developer needs to create a file named _dropdowns.less in the /web/css/source directory of the theme. This file will override the default _dropdowns.less file from the lib/web/css/source/lib directory and apply the custom styles to the dropdown elements. The lib/web/css/source/_dropdowns.less and /web/css/source/lib/_dropdowns.less files are not valid and will not work, as they do not follow the theme structure or the naming convention.

Reference: [Dropdowns], [Theme structure]

asked 02/10/2024
Athabile Landzela
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first