Recently I explained How to add Blogger search box code to your Blogger template. Now In this post I will explain How to customize the search box code to suit your Blogger template. In order to make it easier for you , I am going to explain this with two blogger search form example codes. Once you have added the proper codes then you can have your own custom blogger search engine.
Default search box code
Here is the default code which can be used to create your own search engine in blogger.
But this code will create only a basic blogger search box without any special effects. If you add this code to your blogger sidebar via a HTML / JAVASCRIPT widget , you will find it something like this
Customizing the Blogger search box code
The above code will create just a basic blogger search form. But it’s just not enough for blogger template designer or for those who want their blog to have a professional look. So here I have modified the default script little bit in order to add CSS codes to make special effects in blogger search box.
Here is my modified code :
<div id=’search-box’>
<form action=’/search’ id=’searchform’ method=’get’ style=’display:inline;’>
<span>SEARCH:</span>
<input class=’s’ id=’s’ name=’q’ type=’text’ value=”/>
<input class=’sub’ src=’http://techieblogger.com/wp-content/uploads/2009/06/go.gif’ type=’image’ value=’Submit’/>
</form>
</div>
and here is the CSS for this search Box code :
About the author /
Mohamed RiasI'm a programmer, photographer, and proud parent. With a passion for coding and a love of capturing life's moments through my camera lens, I'm always on the lookout for new challenges and opportunities to grow. As a dedicated parent, I understand the importance of balancing work and family, and I strive to be the best version of myself in all aspects of my life.
Related Posts
-
January 11, 2010 -
January 2, 2010 GrungeMag Reloaded Blogger Template
-
December 16, 2009 30+ Most Downloaded Google Chrome Extensions
-
October 4, 2009 520+ Yahoo Smileys Emotions for FUN
-
September 16, 2009 10+ Online Antivirus scanners
-
September 5, 2009 Show only post titles in Home page
Popular
Editor’s Pick
-
May 8, 2009 30+ smashing tutorials for creating Texture and Background Effects in Photoshop
We all know that attractive backgrounds are very much needed for any graphics, banners or ads these days. An interesting artwork can make the abstract art , vector or texture pattern more appealing . Getting the correct theme, whether it’s an abstract art, vector, or texture pattern, somehow makes the entire artwork looks more interesting….
-
August 27, 2012 How to add, remove and purge ppa’s using YPPA manager
Ubuntu users find themselves installing softwares through Ubuntu Software Centre which is a GUI based tool and on the other hand by commands through terminal. While both of the methods are efficient in their way there are users who install software through PPA’s. Now wait, PPA? What is it? In simple words PPA is Personal…
-
December 16, 2009 30+ Most Downloaded Google Chrome Extensions
Google Chrome being the fastest browser in terms of performance still it’s not preferred by most. Especially Mozilla firefox users won’t ditch firefox so soon just because Google chrome is faster. Being a firefox user,one of the reasons I didn’t liked Chrome is because it doesn’t had plug-ins support before. But now after one year…
-
December 15, 2010 35+ Inspiring Nightscape photography and Tips
Nightscape Photography is one of the eluding styles of photography in lines of selection of photography-style by a photographer. It is sometime possible to shoot Landscape panorama, sea views, and bridges at night in such a manner as if, it has been taken at day time. A cityscape at night with lights blazing away like…
-
November 28, 2011 45+ Unbelievable Landscape Photography Inspirations
Beach Grass, Scotland Marram beach grass blowing on the coast of the Isle of Lewis. Pampa – Santa Fe, Argentina Hengill Mountain, Iceland Hengill mountain is close to Reykjavik and is famous for its geothermal areas and vivid colours. Storm Clouds, South Dakota Large powerful storms can be nearly a daily occurrence during the summer…
