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?

Was it helpful?

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:

  1. Clear the cache of your browser
  2. Clear pub/static and var 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

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top