Jump to content

Getting A Logo In My Search Bar


GuestHouse

Recommended Posts

It's called a favicon and it is a very simple thing to add to your site in a two step process.

Create the file : First, you must create the favicon file. This file has to be a .ico (windows icon) file with dimensions of 16 x 16 pixels. You can use any program to do this.

Implementing : Option 1) If you have root access then you can simply put the .ico file in the root level of your web site. This is the easiest way and will ensure that every page in your site will have the icon. When using this method, the file must be named favicon.ico.

Option 2) If you do not have root access, then you can add a small snippet of code to each page that you would like the icon to be displayed on.

<LINK REL="SHORTCUT ICON"

HREF="/~your_directory/logo.ico">

Add this code between the <HEAD> and </HEAD> tags of your page, replacing /~your_directory/logo.ico, with the location and name of your .ico file. Using this method, you can name the file anything you like and can use different files for different sections of your site.

Good luck.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.







×
×
  • Create New...