Saturday, March 7, 2009

How Change Width Of Drop Down Archive Blogger

How Change Width Of Drop Down Archive Blogger,as yesterday i hold an post that is how to add a drop down archive to a blogger,as this simple option is provided by google themeslves. But the width of the drop down archive is problem in blogger as its width is fixed and doesn't adjust the sidebar of bloggers.

If you have drop down archive in your blog and has an problem with its width then only read this or else you want drop down archive in your blog read this post.

Now i will tell you how to make drop down archive adjust to your sidebar.

Go to LAYOUT > Edit HTML > Expand Widgets > Press Ctrl + F > Now Search For Below codes


<b:includable id='menu' var='data'>
<select expr:id='data:widget.instanceId + &quot;_ArchiveMenu&quot;'>
<option value=''><data:title/></option>
<b:loop values='data:data' var='i'>
<option expr:value='data:i.url'><data:i.name/> (<data:i.post-count/>)</option>
</b:loop>
</select>
</b:includable>


And Replace the above codes with below codes:-


<b:includable id='menu' var='data'>
<select expr:id='data:widget.instanceId + &quot;_ArchiveMenu&quot;' style='width:100%'>
<option value=''><data:title/></option>
<b:loop values='data:data' var='i'>
<option expr:value='data:i.url'><data:i.name/> (<data:i.post-count/>)</option>
</b:loop>
</select>
</b:includable>


The difference between the codes is only the red line we have added. I made you to replace codes instead of adding red line,so as you don't make any mistake while adding.

If you feel any problem while doing this leave your love in your comments, i will help you.
Best Of Luck !!

No comments:

Post a Comment