I'm trying to customize this component:
As I read from the documentation, in order to override the style of this search bar you need to create a folder called Magento_Search and add an _extend.less file in web/css/source/ but nothing happens. I can't figure out why.
2 Answers 2
Override /vendor/magento/module-search/ module with Magento_Search module from your custom theme folder.
as per your screenshot can see only blank theme applies, and your theme consider as a virtual theme
so go to theme table
SELECT * FROM
theme
and check type column
if your theme
typecolumn has 1 value then set it as 0
and then run
php bin/magento s:s:d -f
setup:static-content:deploy, yes. I've tried also with -f option since I'm in developer mode