1

I create a custom theme and I want to change this file: module-search/view/frontend/template/form.mini.phtml

To be safe I need to move this file in my custom theme? If yes what will be the correct path in my theme folder?

Thanks

2

Yes you ought to override the template using your theme. Lots of useful theme structure info here in the devdocs so definitely read up on that.

In this particular case you need to place your template in the folder following this structure: <Vendor>_<Module>/templates so it would be Magento_Search/templates/form.mini.phtml

| 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.