Changing the Logo of a standard install of osCommerce is really easy – all you need to do is upload a new file to overwrite the exisitng file called store-logo.png
In this example, I have added a stripey green background to the area where the logo resides – in order to demonstrate what I mean;
As you can see, because the existing osCommerce logo has a white background, it looks bad. What I need to do is make a new logo that has a transparent background. Easy enough – I just open Photoshop and make a quick logo – I save it as a png24 file, and overwrite the old logo…
Now the logo area looks like this:
This is now looking much better, as the green stripes show through the transparent areas of the logo that I made. Much better!
However, some older browsers just cannot handle PNG files at all well – a prime example of which is Internet Explorer 6 – which a lot of people still use. In IE6, that same logo looks like this:
As you can see, this is very ugly – so we have two options;
- Change from PNG to GIF (gif files have transparency available)
I’ll explain these two options more in-depth in my next blog post.