How To Add Expandable Search Box In Blogger Blog

Posted by Vikram Rajpurohit 0 comments
 WordPress like Expandable search box will give a funky look to your blogger blog .Normally this type of search widgets you will see on WordPress sites.And this code will let you incorporate this WordPress search box in your blogger blog.

expandable search box for blogger blog

Steps to add expandable search box in Blogger

1.Go to Blogger Dashboard > Template > Edit HTML
2.Search (Ctrl+F) for the line  ]]></b:skin> .
3.Now Copy the below code and paste it before the red highlighted line.

margin: -5px 20px 0 0;
height: 24px;
padding-top: 5px;
background: #ffffff url( repeat;
padding:1px 2px;
border-color:#0b5394 #0b5394 #0b5394#0b5394;
-moz-transition: all 0.5s ease-out;
-o-transition: all 0.5s ease-out;
-webkit-transition: all 0.5s ease-out;
-ms-transition: all 0.5s ease-out;
-moz-border-radius:8px 8px 8px 8px;
-khtml-border-radius:8px 8px 8px 8px;
-webkit-border-radius:8px 8px 8px 8px;;
border-radius:8px 8px 8px 8px;


 a.If you want to change the background image for the search box then just replace the existing image URL ( )with your image URL.And if dont want ant image background then remove this line from the code url( repeat .

b.You can also change the default size of the search box by altering width:180px;  and can change the expandable length by changing the width:210px

c.To change the border color you can replace this line (border-color:#0b5394#0b5394 #0b5394#0b5394;) with your desired color codes.

4.Now go to Blogger > Layout>Select HTML/JavaScript widget. Paste the code below inside it .

<li><form action='/search/' id='searchform' method='get' style='display:inline;'>
<input id='searchbox' maxlength='240' name='q' onblur='if (this.value == &quot;&quot;) {this.value = &quot;Search Here...&quot;;}' onfocus='if (this.value == &quot;Search Here...&quot;) {this.value = &quot;&quot;}' type='text' value='Search Here...'/>
</form>  </li>

5.Click on save and you are done:)

Continue Reading :)

How To Add Pinterest Pin It Button Near Blog Post Title

Posted by Vikram Rajpurohit 0 comments
How To Add Pinterest Button To Blogger Blog.Pinterest pin it button next to your blog post title would be an eye catching and easily noticeable to your blog readers.This pin it button will allow you readers pin your post image on Pinterest along with your blog post link as a back link.Hence,Pinterest users who click on your pinned image will be redirected to your blog post.

How To Add Pinterest Button Near Blogger Post Title

1.Go to Blogger Dashboard > Template > Edit HTML
2.Search (Ctrl+F) for the line  <a expr:href='data:post.url'><data:post.title/></a> .
3.Now See the below code ( highlighted in gray) and paste it next to the above red highlighted line as shown in the below image.

Note:To have a space between post title and pin it button just enter 3 empty spaces as shown in the picture above.

4.Click on save template button and your are done.

Continue Reading :)