Search Box is an important thing for
blog/website. Visitors can search your blog and find a content from your
blog they want. As you know Blogger has its own search box, but it's
looking very simple. It will look more professional to add a more
optimized and colorful search box to your blog.
Today I will share with you beautiful search boxes for Blogger.
Screenshot of Search Box:
Simply open up Blogger, go to Layout > "Add a new gadget".
Now in pop out window search and select for HTML/JavaScript.
And paste code on it:
11 | border: 1px solid #999; |
12 | -webkit-border-radius: 5px; |
13 | -moz-border-radius: 5px; |
15 | background-color: #fff; |
23 | background: transparent; |
26 | #search-box input[type="text"] |
29 | padding: 11px 0 12px 1em; |
45 | background-color: #ff6c00; |
46 | -webkit-border-radius: 0px 5px 5px 0px; |
47 | -moz-border-radius: 0px 5px 5px 0px; |
48 | border-radius: 0px 5px 5px 0px; |
54 | < form action = '/search' id = 'search-form' method = 'get' target = '_top' > |
55 | < input id = 'search-text' name = 'q' placeholder = 'Search...' type = 'text' /> |
56 | < button id = 'search-button' type = 'submit' >< span >Search</ span ></ button > |
And press on "Save" button.
Change some settings:
1) On line 4 you can change the 100% to any size you want to apply to the search box.
2) On line 45 change "#ff6c00" to any color you want for the search button.
3) On line 56 you can change the value of search button, in above code, the value is set to "Search".
Post A Comment:
0 comments: