Beautiful CSS Search Box For Blogspot Blogs - Best Blogger Designs, Tips, Tricks, Tools and Basic to Advanced Training

bbd

Best Blogger Designs, Tips, Tricks, Tools, Basic to Advanced Training, Money Making Tips, SEO, Traffic Genaration Methods, Free Templates, Free Hosting Tricks

Post Top Ad

Beautiful CSS Search Box For Blogspot Blogs

Your Ad Spot

Beautiful CSS Search Box For Blogspot Blogs



1.Login to your blogger dashboard--> layout- -> 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'>
div#search { background: transparent url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg03mlfiA9nU_XBYqsh6dnqFMcGqLN8cz6nAnQDXds3mvAXj3YYgxTgP2fNSAlLpfRZG4hFiusabUkfk9SrFkF-HL1_k9OC50M4qUdwA1R8xXUOq7cRjRyDnVZNeMS_GnCdi5as4oWdCUK2/") no-repeat scroll left top;margin: 0; width: 320px; height: 44px; }
div#search form { height: 44px; }
div#search form p { display: block; margin: 0; padding: 14px 0 0 30px; }
div#search form p input { width: 285px; border: 0; background: transparent none; color: #ffffff; }
</style>
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.
<div id='search'>
<form action="http://YOURBLOG.blogspot.com/search" id='search form' method='get'>

<p><input id='searchform' name='q' onblur='if (this.value == &quot;&quot;) {this.value = &quot;Type your search here...&quot;;}' onfocus='if (this.value == &quot;Type your search here...&quot;) {this.value = &quot;&quot;}' type='text' value='Type your search here...'/></p>

</form>
</div>
Note : Replace "YOURBLOG" with your blog name.
You are done.Look at the picture below.
+search+box+for+blogspot
Search Box For Blogspot Blogs

No comments:

Post a Comment

Post Top Ad