Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

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
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (5)


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.



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



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


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(