Create less file for custom Theme
Solution
You have created the less file properly,
Run the Below command and check: (If grunt is installed properly, then your changes will reflect)
grunt refresh
grunt less:YourThemeName
OTHER TIPS
I have a review your question and I found that you have done the wrong step to override _extend.less
file.
The correct way to override _extend.less file:
Go in your theme Magento_Theme\web\css\source
create _extend.less
and put your changes in that.
Thanks:)
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange