Favicon change does not work (Magento 2)
Question
Magento 2 shows me this path to the favicon in the source:
/pub/static/frontend/xx/MinimalBlack/de_CH/Magento_Theme/favicon.ico
I delete this file and ad my own favicon to my theme here:
/app/design/frontend/xx/MinimalBlack/Magento_Theme/favicon.ico
But it creates me always the Magento favicon in the static folder, not my favicon. What's wrong?
Solution
If you are using magento 2.0.2 then go to
Stores > Configuration > General > Design
.
You can change your favicon by upload it.
OTHER TIPS
As Omitri wrote before, the favicon you want to use must be placed in:
/app/design/frontend/<Vendor>/<Theme>/Magento_Theme/web/favicon.ico
There are couple more steps you need to perform to see it live, though:
- Clear the cache of your browser
- Clear
pub/static
andvar
directories without removing.htaccess
files
Here's a link to docs.
The file location should be: /app/design/frontend/xx/MinimalBlack/Magento_Theme/web/favicon.ico