remove and replace default favicon.ico code from theme

Homepage Community Forums Aspire Theme Support remove and replace default favicon.ico code from theme

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23186
    techiebraj
    Customer

      Hello team,

      I want some help. I have uploaded favicon.ico in my root directory, and I want my website to load that favicon but the site is loading the default favicon location mentioned in the theme e.g /wp-content/themes/aspire/images/favicon.ico

      Screenshot:- http://prntscr.com/no6wwn

      I have searched for this line of code to remove this code to load favicon from root location e.g. /favicon.ico but I have not got that code.

      Can you please tell me the area of that code so that I could remove the line of code to load favicon from the root instead. I want to remove it because I got a warning when I checked my website favicon with realfavicongenerator.net

      Warning screenshot:- http://prntscr.com/no6xjh

      Why do I want to do this?

      I want my website to load different size of favicon according to the requirement so that I installed different size of the favicon in my site root directory and inserted this code to the header script of Genesis:-

      header script:- http://prntscr.com/no6wfs

      <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
      <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
      <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
      <link rel="manifest" href="/site.webmanifest">
      <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#730202">
      <meta name="msapplication-TileColor" content="#000000">
      <meta name="theme-color" content="#000000"><!--formatted-->

      Thank you & Regards,
      Brajmohan Kumar

      #23195
      Wes
      Moderator
        This reply has been marked as private.
      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.