Hi all, I'm trying to override the CatalogSearch module with a css style only for the module. From Magento's documentation says to create folders and files this way /_/web/css/source/_module.less My path is root_theme\Magento_CatalogSearch\web\css\source_module.less I have this path with this file and the code inside to try this is

 button {background-color: chocolate;}
.action {

but it does not work. How can I solve this problem? Magento_CatalogSearch\web\css


The correct path is:


After you ave included the file. Remove the content of:




and finally run:

bin/magento setup:static-content:deploy
| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.