how can i replace the icon in the address bar??

General questions about CMSimple
Post Reply
gujjufreak

how can i replace the icon in the address bar??

Post by gujjufreak » Wed Feb 05, 2014 2:56 pm

Can anybody explain me how to check the icon which is upper side located on your web browser, you can see whenever you open it.
How to change it?

Thanks

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: how can i replace the icon in the address bar??

Post by cmb » Wed Feb 05, 2014 3:17 pm

This icon is called Favicon, and its Wikipedia article explains its general use. To use it with CMSimple you can simply add the appropriate element(s) to your template (see the template "responsivehtml" in recent CMSimple_XH versions), if that's actually necessary.
Christoph M. Becker – Plugins for CMSimple_XH

gibbs12

Re: how can i replace the icon in the address bar??

Post by gibbs12 » Thu Nov 05, 2015 11:14 am

How do I change the little icon in the address bar (like the blimp in the MozillaZine address)?
I'm interested in putting in a little icon of my own, can anyone help?

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: how can i replace the icon in the address bar??

Post by Tata » Fri Nov 06, 2015 6:59 am

Just as cmb answered:
1. prepare a gif or png file with e.g. 16x16px and save it in ico format as favicon.ico.
2. save it in the root of your website (where your main index.php is saved)
3. Edit your template and put

Code: Select all

<link href="./favicon.ico" rel="icon" type="image/x-icon" />
That's basically all. Enjoy.
Or read more by the link provided by cmb.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Post Reply