Support » Fixing WordPress » favicon has white background despite transparency

  • Resolved AsraiLight

    (@asrailight)


    Hi all, I’m stumped on this one. I’ve done a search of the forums and site as well, and I don’t see any reference to this problem.

    We created a new website based on WordPress (http://www.mercurypay.com), and as I usually do, I created a favicon.ico file that included transparency, and uploaded it to both the public HTML directory on our server and also the WordPress theme folder.

    It looked fine for weeks, functioning normally. Then, all of a sudden, the favicon on the public pages (not the admin pages) has a white background, and I can’t figure out why. If you go to https://www.mercurypay.com/favicon.ico, the image has the background, though I’m 100% positive the file I’ve uploaded doesn’t. And the kicker: if you look at the favicon in the browser on that page, it displays correctly, even though the image file does not.

    It’s almost as if WordPress is doing something to automatically add a white background to any favicon displayed on the pages, even when I access the server directly and upload it that way, and only within the past few weeks, though we’ve made no update to the install.

    If anyone has any ideas, I’d really appreciate it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Also, this seems extra odd: when visiting the site with HTTPS, the favicon appears to be correct. When visiting HTTP, it is not. But this is not consistent.

    I’m wondering if it’s an issue with my browsers, computer, or the website?

    No one has ever had this problem before?

    Moderator Andrew Nevins

    (@anevins)

    I’m using Chrome 21.0 and I can see the transparency of the favicon.
    Are you using Internet Explorer below version 8? If so, here is a resource which fixes .png transparency of IE http://www.twinhelix.com/css/iepngfix/ .

    WPyogi

    (@wpyogi)

    Forum Moderator

    Looks fine on Firefox 15 and Safari on a Mac too.

    That’s so odd…so it does appear fine to others, just not to me? That must be a browser issue, or even a computer issue, since it appears that way for all of my browsers. Now I’m even more stumped, but thanks for verifying that it looks OK for you at least. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘favicon has white background despite transparency’ is closed to new replies.