Search in This Blog

Change Search in This Blog size

Problem:

If you have a blog owner in blogger and used the "Search in This Blog" widget, you can see this size is very large and taking lot of spaces in your blog

Solution:



Use below code at the end of your blogger XML file

<script>
function r_search() {
var r_place_s=&quot;h2&quot;;
var r_place_t=&quot;h5&quot;;
var Attribution1=document.getElementById(&quot;CustomSearch1&quot;);
var Attribution1_html=Attribution1.innerHTML;
var regex = new RegExp( &#39;(&#39; + r_place_s + &#39;)&#39;, &#39;gi&#39; );
Attribution1.innerHTML=Attribution1_html.replace( regex, r_place_t );
}
r_search();
</script>

Previous
Next Post »