0

I am trying to override file .less. The file, in the parent theme, is at

 vendor/magento/theme-frontend-luma/Magento_Theme/web/css/source/_module.less

So I copied and edited the file at:

app/design/frontend/MyCompany/customtheme/Magento_Theme/web/css/source/_module.less

I want to change the background color of the header panel from:

@header-panel__background-color: @color-gray-middle3;

to:

@header-panel__background-color: blue; // @color-gray-middle3;

After reloading the page it still the same. I have disabled the cache and I am in developer mode. When I do some changes to the layout it works.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.