Forums / General Questions / transparent favicon?

transparent favicon?

Locked

Views: 1,418

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
17 Apr 2009, 5:10 PM
#1
chelgeson avatar

chelgeson

New Zenner

Join Date:
Apr 2009
Posts:
20
Plugin Contributions:
0

transparent favicon?

I am having a really hard time making my favicon transparent

I have tried multiple blog and forum suggestions...

I downloaded a .ico plug in for my photoshop....saved my 16x16 image with a transparent backround...no luck

I tried saving it in ifranview with the option to save transparent color....no luck.

Does anyone have any suggestions?

Thanks
Cody

17 Apr 2009, 5:22 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: transparent favicon?

When you state "transparent" I assume you are referring to the background.

Make it a 16X16 .gif, name it favicon.gif and edit a copy of /includes/languages/english/meta_tags.php for your template

Find and edit:

define('FAVICON','favicon.ico'); 

To read:

define('FAVICON','favicon.gif'); 

Zen-Venom Get Bitten

17 Apr 2009, 8:23 PM
#3
chelgeson avatar

chelgeson

New Zenner

Join Date:
Apr 2009
Posts:
20
Plugin Contributions:
0

Re: transparent favicon?

Thank you for response!

To clarify...yes, I have a round logo and am trying to make just the round logo show up, currently it has a white square around it.

I tried what you suggested and am still getting a white square. I can save as an ico file in infranview. Is it better to make this happen as a gif?

It is obviously something I am doing in my image editing software, I just cant get it right...

any other suggestions?

Thanks
Cody

17 Apr 2009, 8:42 PM
#4
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: transparent favicon?

i don't know what image editing you use. but when i want to save gif images. i use export command and use alpha transparency to save the gif..
if your image editing has this feature , use it , you might select the alpha color , so in your case would be white .

18 Apr 2009, 5:59 AM
#5
lissae avatar

lissae

Totally Zenned

Join Date:
Oct 2007
Location:
Australia
Posts:
814
Plugin Contributions:
0

Re: transparent favicon?

You can also save your favicon as a png and simply rename the extension from .png to .ico, I do that every time I change mine and it works like a charm...just make sure your windows folder options are set to allow you to see file extensions...**Tools>>Options>>View>>**Untick Hide extensions for known file types :)

HunnyBee Design
"A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe