Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

Change fav-icon


I want to change the fav-icon , the image that displays in the browser address bar and on tabs. But I can't find where he is.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)


To change the favicon, you can locate the relevant setting in the file starterkit/config/settings.php. Look for the entry KT_THEME_ASSETS.favicon in this file and update the value to the path of your desired favicon image. Make sure to replace it with the appropriate file location for your new favicon.

If you have any further questions or need additional assistance, feel free to ask.



I tried to change the favicon to a new image but it doesn't work. Also when I put this part of the code in comments " // 'favicon' => 'assets/media/logos/favicon.ico'," nothing has changed, the icon is still present



You can check the function responsible for including the favicon in the Metronic starter kit. The relevant code is located in the file:

/starterkit/app/Core/Theme.php

Look for a function named includeFavicon() within that file. This function is responsible for generating and including the favicon. Ensure that your changes to the favicon configuration are reflected in this function.

If the icon is still not updating as expected, there might be caching issues. You can try clearing your browser cache or using a different browser to see if the changes take effect.

Feel free to ask if you have further questions or need more assistance.



Problem solved thanks



You're welcome! I'm glad to hear that the issue is resolved. If you have any more questions or run into any other issues, feel free to reach out.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(