August 13, 2011

How To Add Smart CSS Search Box to Blogger V1

Many bloggers have a google custom search gadget. but i do not like google custom search gadget! so here is the right way to add CSS Search Box to blogger side bar. this is very cool gadget and have a cool design. now you can add this gadget to your blog. Please read below steps and add this gadget. so please add your ideas, comments and anything here..nice day!

1.Login to your blogger dashboard--> Design -> Edit HTML

2.Scroll down to where you see </head> tag .

3.Copy below code and paste it just before the </head> tag

<style type='text/css'>
border:solid 4px #ccc;
padding: 1px 2px;
background:url( repeat-x left top;
border:solid 5px #000000;
padding: 1px 2px;

NOTE:You can change background image,colors,borders,.. as your choice.

4.Now save your template.

5.Go to Layout-->Page Elements and click on "Add a gadget".

6.Select "html/java script" and add the code given below and click save

<form id="searchthis" action="" style="display:inline;" method="get">
<input id="b-query" class="formbox" maxlength="255" name="q" size="35" type="text"/>
<input id="b-searchbtn" class="formbutton" value="Search" type="submit"/>

Note:Replace "YOURBLOG" with your blog name.

You are done

No comments:

Post a Comment