1.Login to your blogger dashboard-->
layout- -> Edit HTML
2.Scroll down to
Press Ctrl+ F and Paste
</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/AVvXsEjkE3346oNNfhAVmY2sQuF4cDvfyYw83MrHKK9_Q_xzOphWqLmUjmn5_yRYiRcYLBT6H2EZ5Tf_7exuV431keGjvOmFjfUylr5RSyJI4_owQgmmWXgA_JWhjV54fGEVZ1qUrRjl9hYv6Arz/") 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>
5.Go to Layout-->Page Elements and click on "Add a gadget".
<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 == "") {this.value = "Type your search here...";}' onfocus='if (this.value == "Type your search here...") {this.value = ""}' type='text' value='Type your search here...'/></p>
</form>
</div>
Note : Replace "YOURBLOG" with your blog name.
0 comments:
Post a Comment