How to fix PNG transparency problem in Wordpress

Internet Explorer 6(IE6) may be the worst browser ever made. Softwares are called solutions for computing problems, but I don’t know how to name IE6, since it is a problem more than a solution. It has a long history of bugs but despite its poor performance till the date it occupies a large part of browsers market.
Apart from box model problems, there is PNG transparency handling issue with IE6. Developers have to write there own hacks to overcome this problem.
If you are designing/developing a Wordpress theme that would use transparent PNGs, you might run in to trouble with IE6. But fortunately there is a simple solution for this problem. There is a plugin name WP-UnitPNGfix which after activation, fix the PNG problem in IE6 for your blog regardless which theme you use.

png_fix

I use a lot of transparent PNGs in my current blog theme, means trouble for me in IE6 but this plugin worked like a charm for me. Despite its compatibility till Wordpress 2.6, it can work fine with 2.7 as well. You can download this plugin here. Unzip and upload it to your wp-content/plugins folder and activate it from ‘Plugins’ in your dashboard. No more changes you have to do in CSS nor PHP files. Please note if you are considering your theme for public release & it has this issue, you must provide some manual solution along theme files. Google for “IE PNG fix“, and you will find many manual workarounds.

Related posts:

  1. Wordpress has now its own TV
  2. Wordpress: How to create a clean archives page
  3. My favourite Wordpress tricks and hacks
  4. Wordpress 2.7.1 released
  5. 4 features I like about Wordpress 2.7 Dashboard homepage

Trackbacks & Pingbacks

No trackbacks/pingbacks yet.

Comments

Glad to be of help for so many people! ;)

This worked great! Thank you so much for creating this awesome plugin, I’ll use this for my client sites from now on.

@Ben: Actually I am not the developer of this plugin, I just reviewed it here. Vincenzo Russo is the developer of this plugin. Thanks for your comment.

@Sajid: Oops – I’ll go leave him a comment as well. Sorry I got confused.

Thanks, nice easy fix. Works with the latest version as well.

Saved me a bit of work…

Tried it with 2.7.1 on IE6. Broke the page completely.

I tried it with WP 2.8 b1 on IE6, doesn’t work. :(

It is not compatible with this particular version. i.e WP 2.8.
Hopefully soon we’ll get one.

Leave a comment

(required)

(required)