How to create a transparent favicon

Solved
Miryam6 Posted messages 151 Registration date   Status Member Last intervention   -  
bg62 Posted messages 23433 Registration date   Status Moderator Last intervention   -
Hello,

I create favicons with generators but the transparency never works, what should I do, what base format should I use for the image? gif, png? Which generator?

Thanks!

1 answer

  1. bg62 Posted messages 23433 Registration date   Status Moderator Last intervention   2 435
     
    you need to save the file created in png (with transparency) in .ico format

    --
    the 'www' is also meant for communication, sharing, and exchanging, right?
    thank you for being polite enough to respond to those who are trying to help you
    0
    1. Miryam6 Posted messages 151 Registration date   Status Member Last intervention   2
       
      Ahhhh that's it, thank you very much :)
      0
    2. bg62 Posted messages 23433 Registration date   Status Moderator Last intervention   2 435
       
      which software do you work with?
      otherwise, it's also doable online ;)
      0
    3. Miryam6 Posted messages 151 Registration date   Status Member Last intervention   2
       
      paint.net apparently I can't create an ico, if I add the extension will it work?
      0
    4. bg62 Posted messages 23433 Registration date   Status Moderator Last intervention   2 435
       
      no ... in that case you create a png with transparency and you simply modify the link code ...
      favico.ico will become favico.png for example ...
      it works ;)
      0
    5. arthezius Posted messages 3756 Status Member 475
       
      Just put the favicon in png and add the following code:
      <link rel="icon" type="image/png" href="favicon.png" />

      Correct it if the file name is different.
      There is no requirement to use a .ico file.
      0